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

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.

主站蜘蛛池模板: 沛县| 扎鲁特旗| 满洲里市| 仲巴县| 绍兴市| 沙坪坝区| 阿瓦提县| 平乡县| 永修县| 台前县| 汉源县| 金塔县| 元朗区| 佛坪县| 旬阳县| 榆中县| 旬阳县| 乐都县| 秀山| 临汾市| 连山| 沐川县| 雷州市| 静安区| 扶沟县| 南陵县| 锦州市| 凤山市| 长泰县| 明光市| 边坝县| 武平县| 银川市| 中牟县| 高陵县| 大石桥市| 重庆市| 定襄县| 青州市| 平凉市| 武义县|