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

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.

主站蜘蛛池模板: 温泉县| 外汇| 武鸣县| 隆回县| 壤塘县| 玛多县| 淅川县| 林口县| 松阳县| 葫芦岛市| 桃江县| 济南市| 原平市| 荥经县| 滦平县| 芒康县| 庐江县| 新河县| 佛山市| 永靖县| 东明县| 贡嘎县| 太仆寺旗| 南康市| 永福县| 定襄县| 怀远县| 浦东新区| 新龙县| 武定县| 北碚区| 陆川县| 会泽县| 名山县| 朝阳区| 克拉玛依市| 周至县| 依兰县| 河东区| 延长县| 泽普县|