官术网_书友最值得收藏!

Chapter 2. Styling with CSS3

HTML defines the document/page structure and lists the elements it contains. But the job of defining the layout, the positioning, and the styling of those elements is the sole responsibility of CSS. A cascading style sheet (CSS), as the name suggests, is basically a sheet that contains a list of style rules. Each CSS style rule links a selector, which defines what is going to be styled, to a declaration block, which includes a single or a set of styles, which in turn define the effect(s) you want applied to that associated selector. The syntax of a basic style rule would look like this

selector { property: value; property: value; }

Throughout this chapter, we will go over the following topics: CSS3 selectors, Grid and Flexbox, Animation and Transforms, and Media Queries. These topics cover some of the CSS3 features that are frequently used when developing a Windows Store app with JavaScript.

主站蜘蛛池模板: 鹰潭市| 永年县| 虞城县| 郴州市| 盘锦市| 泸水县| 大余县| 碌曲县| 兴国县| 乌海市| 安阳县| 永兴县| 崇州市| 启东市| 应城市| 宜兰市| 扎鲁特旗| 盐亭县| 静海县| 太仆寺旗| 南宫市| 静宁县| 临西县| 牟定县| 双柏县| 运城市| 喀喇| 静海县| 普安县| 策勒县| 曲水县| 武鸣县| 巴东县| 九江县| 大田县| 滨海县| 井陉县| 罗田县| 清涧县| 岳阳县| 黎川县|