- Learning Less.js
- Alex Libby
- 230字
- 2021-09-03 09:38:04
Chapter 1. Introducing Less
Are you tired of writing the same old CSS styles for client websites only to find out that you're repeating yourself? Wish you could cut down on what you write and still produce the same results…?
Well, you can. Welcome to the world of CSS preprocessors, and in particular, Less! CSS preprocessors such as Less are designed to help you reorganize your styles to smaller, more manageable chunks of reusable code that you can store and reference as and when your projects demand.
Less, designed as a superset or extension of CSS, is very much about making your development work easier—it incorporates variables and functions that are more likely to be seen in scripting languages such as JavaScript while still compiling in valid CSS. While the initial thought of working with code might scare you, you'll see that Less is really just CSS, but with some additions to help make development easier. Less will help you cut down the development time, as you can reuse code from one project in another—how much is all up to you!
In this chapter, we will cover the following topics:
- The roles of HTML and CSS, and the limitations of using CSS
- Why CSS preprocessors are needed
- Why you should use Less
- The advent of CSS4, and what this means for Less
- Learning Cocos2d-x Game Development
- ATmega16單片機(jī)項目驅(qū)動教程
- FPGA從入門到精通(實戰(zhàn)篇)
- 計算機(jī)組裝·維護(hù)與故障排除
- 基于ARM的嵌入式系統(tǒng)和物聯(lián)網(wǎng)開發(fā)
- 計算機(jī)組裝維修與外設(shè)配置(高等職業(yè)院校教改示范教材·計算機(jī)系列)
- 深入理解序列化與反序列化
- 微型計算機(jī)系統(tǒng)原理及應(yīng)用:國產(chǎn)龍芯處理器的軟件和硬件集成(基礎(chǔ)篇)
- The Artificial Intelligence Infrastructure Workshop
- Angular 6 by Example
- 筆記本電腦的結(jié)構(gòu)、原理與維修
- ARM接口編程
- Learning Microsoft Cognitive Services
- 3D打印:Geomagic Design X5.1 逆向建模設(shè)計實用教程
- Applied Deep Learning with Keras