- 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."
- pcDuino開發實戰
- 嵌入式Linux開發技術
- 每天5分鐘玩轉Kubernetes
- Hands-On DevOps with Vagrant
- Ubuntu Linux操作系統
- Installing and Configuring Windows 10:70-698 Exam Guide
- 高性能Linux服務器構建實戰:系統安全、故障排查、自動化運維與集群架構
- Docker+Kubernetes應用開發與快速上云
- INSTANT Migration from Windows Server 2008 and 2008 R2 to 2012 How-to
- 計算機應用基礎(Windows 7+Office 2016)
- Linux軟件管理平臺設計與實現
- Learn SwiftUI
- Linux內核API完全參考手冊(第2版)
- Linux指令從初學到精通
- iOS Programming Cookbook