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

Conventions

In this book, you will find a number of text styles 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, user input, and Twitter handles are shown as follows: "We can include other Sass files through the use of the @import directive."

A block of code is set as follows:

@import '../../bower_components/susy/sass/susy';

$susy: (
    columns: 12,
)

$breakpoints: (
    sm: 480px,
    md: 768px,
    lg: 980px
);

@each $size, $value in $breakpoints {
    @media (min-width: map-get($breakpoints, $size) {
        @for $i from 1 through map-get($susy, columns) {
            .col-#{$i}-#{$size} {
                @include span($i);

                &-last {
                    @include span($i last);
                }
            }
        }
    }
}

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

[@import '../../bower_components/susy/sass/susy';

$susy: (
    columns: 12,
)
$breakpoints: (
    sm: 480px,
    md: 768px,
    lg: 980px
);

@each $size, $value in $breakpoints {
    @media (min-width: map-get($breakpoints, $size) {
        @for $i from 1 through map-get($susy, columns) {
            .col-#{$i}-#{$size} {                 @include span($i);

                &-last {
                    @include span($i last);
                }
            }
        }
    }
}

Any command-line input or output is written as follows:

$ sass -–update assets/sass/main.sass:assets/css/main.css -–style=expanded

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "Clicking 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.

主站蜘蛛池模板: 团风县| 牙克石市| 北京市| 平昌县| 平泉县| 烟台市| 谷城县| 电白县| 桃源县| 道孚县| 鹤壁市| 三明市| 丹阳市| 社旗县| 通许县| 淮南市| 苏尼特左旗| 郯城县| 诸暨市| 如东县| 沁源县| 石阡县| 长汀县| 廊坊市| 怀集县| 彭水| 黄冈市| 环江| 孙吴县| 贵州省| 太湖县| 会泽县| 永和县| 井冈山市| 德令哈市| 武平县| 永泰县| 大悟县| 新丰县| 永川市| 炉霍县|