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

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."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 龙里县| 东丰县| 宣汉县| 怀远县| 澄迈县| 闸北区| 普洱| 赣榆县| 罗甸县| 读书| 宁津县| 商水县| 张北县| 黄平县| 兴山县| 瓦房店市| 滨州市| 洛扎县| 辉县市| 北票市| 紫金县| 定边县| 宜州市| 融水| 饶河县| 石城县| 千阳县| 衡水市| 临海市| 南丰县| 厦门市| 云南省| 溧水县| 灵台县| 河间市| 万宁市| 泽库县| 剑川县| 开远市| 新野县| 时尚|