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

CSS pre-processors

CSS pre-processors process code written in a pre-processed language, such as LESS or Sass, and convert it into standard CSS, which in turn can be interpreted by any standard web browser. CSS pre-processors extend CSS by adding features that allow variables, mixins, and functions.

The benefits of using CSS pre-processors are that they are not bound by any limitations of CSS. CSS pre-processors can give you more functionality and control over your style sheets and allow you to write more maintainable, flexible, and extendable CSS.

CSS pre-processors can also help to reduce the amount of CSS and assist with the management of large and complex style sheets that can become harder to maintain as the size and complexity increases.

In essence, CSS pre-processors such as Less and Sass enable programmatic control over your style sheets.

Bootstrap moved their source files from Less to Sass with version 4. Less and Sass are very alike in that they share a similar syntax as well as features such as variables, mixins, partials, and nesting, to name but a few.

Less was influenced by Sass, and later on, Sass was influenced by Less when it adopted CSS-like block formatting, which worked very well for Less.

主站蜘蛛池模板: 屯门区| 舒兰市| 沂源县| 安乡县| 和顺县| 兖州市| 肥乡县| 辽中县| 鄢陵县| 民乐县| 磴口县| 都昌县| 上饶县| 沂南县| 赤壁市| 吐鲁番市| 西藏| 潜山县| 色达县| 望城县| 邛崃市| 徐汇区| 青阳县| 莱西市| 武陟县| 厦门市| 邵武市| 乃东县| 镇坪县| 柳江县| 会宁县| 时尚| 南雄市| 哈尔滨市| 文昌市| 太仆寺旗| 巴楚县| 青州市| 仁寿县| 鸡西市| 汕头市|