Css Preprocessors



Css Preprocessors

0 0


CssPreprocessorsSession


On Github hongyuanlei / CssPreprocessorsSession

Css Preprocessors

Nested Rules

Nested Properties

SassScript {#sassscript}

Variables: $ {#variables_}

Interpolation: #{}

@-Rules and Directives {#directives}

@import {#import}

  • If the file's extension is .css.
  • If the filename begins with http://.
  • If the filename is a url().
  • If the @import has any media queries.

Partials {#partials}

@extend {#extend}

Control Directives & Expressions

@if

@for

@each {#each-directive}

@while

Mixin Directives {#mixins}

@mixin & @include

Arguments {#mixin-arguments}

Variable Arguments

Css Preprocessors