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

Sass instead of Less

Both Less and Sass (Syntactically Awesome Stylesheets) are CSS extension languages—that is, they are languages that extend the CSS vocabulary with the objective of making the development of many, large, and complex stylesheets easier. Although Less and Sass are fundamentally different languages, the general manner in which they extend CSS is the same—both rely on a preprocessor. As you produce your build, the preprocessor is run, parsing the Less/Sass script and turning your Less or Sass instructions into plain CSS.

Less is the official Bootstrap 3 build, while Bootstrap 4 has been developed from scratch, and is written entirely in Sass. Both Less and Sass are compiled into CSS to produce bootstrap.css. Along with that, it also produces its minified version—bootstrap.min.cssand map files. It is this CSS file that we will be primarily referencing throughout this book (with the exception of Chapter 3, Building the Layout). Consequently, you will not be required to know Sass in order to follow this book. However, we do recommend that you take a 20-minute introductory course on Sass if you are completely new to the language. Rest assured if you already know CSS; you will not need more time than this. The language's syntax is very close to normal CSS, and its elementary concepts are similar to those contained within any other programming language.

主站蜘蛛池模板: 华亭县| 达孜县| 穆棱市| 泾阳县| 孟连| 延吉市| 太白县| 和林格尔县| 商水县| 静海县| 和林格尔县| 巴彦淖尔市| 抚顺县| 财经| 昌宁县| 米林县| 龙陵县| 武宁县| 巴彦县| 西乡县| 衡山县| 常山县| 沙湾县| 宾阳县| 台南县| 镇巴县| 长岭县| 德昌县| 股票| 珠海市| 滨海县| 大邑县| 库车县| 大丰市| 保山市| 高淳县| 潮州市| 织金县| 长宁县| 边坝县| 阿尔山市|