- Less Web Development Essentials
- Bass Jobsen
- 240字
- 2021-07-16 12:02:31
Conventions
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, and user input are shown as follows: "Note that in this case, an ID is a unique selector starting with #
; the selector [id=]
for the same HTML element counts as an attribute."
A block of code is set as follows:
.box-shadow(@style, @c) when (iscolor(@c)) { -webkit-box-shadow: @style @c; -moz-box-shadow: @style @c; box-shadow: @style @c; } .box-shadow(@style, @alpha: 50%) when (isnumber(@alpha)) { .box-shadow(@style, rgba(0, 0, 0, @alpha)); }
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
.box-shadow(@style, @c) when (iscolor(@c)) {
-webkit-box-shadow: @style @c;
-moz-box-shadow: @style @c;
box-shadow: @style @c;
}
.box-shadow(@style, @alpha: 50%) when (isnumber(@alpha)) {
.box-shadow(@style, rgba(0, 0, 0, @alpha));
}
Any command-line input or output is written as follows:
# lessc -c styles.less > styles.css
New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "Clicking on the Next button moves you to the next screen."
- 每天5分鐘玩轉(zhuǎn)Kubernetes
- 白話區(qū)塊鏈
- 操作系統(tǒng)基礎(chǔ)與實(shí)踐:基于openEuler平臺
- Instant Handlebars.js
- 深入Linux內(nèi)核架構(gòu)與底層原理(第2版)
- Linux Shell編程從入門到精通(第2版)
- 網(wǎng)絡(luò)操作系統(tǒng)管理與應(yīng)用(第三版)
- Android物聯(lián)網(wǎng)開發(fā)細(xì)致入門與最佳實(shí)踐
- INSTANT Migration from Windows Server 2008 and 2008 R2 to 2012 How-to
- Kali Linux高級滲透測試
- 從實(shí)踐中學(xué)習(xí)Windows滲透測試
- Web Penetration Testing with Kali Linux(Third Edition)
- 嵌入式微系統(tǒng)
- Learn Quantum Computing with Python and IBM Quantum Experience
- Linux操作系統(tǒng)案例教程(第2版)