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

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.

主站蜘蛛池模板: 比如县| 江安县| 盘山县| 丰县| 东乌珠穆沁旗| 兴山县| 永吉县| 古浪县| 大冶市| 乌恰县| 将乐县| 长寿区| 盈江县| 静宁县| 新巴尔虎右旗| 开阳县| 延吉市| 陇西县| 东至县| 临海市| 当阳市| 蒲江县| 什邡市| 格尔木市| 武陟县| 县级市| 甘泉县| 霍城县| 萨迦县| 西安市| 莎车县| 股票| 农安县| 土默特右旗| 周口市| 清远市| 博爱县| 霍邱县| 铜山县| 奈曼旗| 太仆寺旗|