课程目录:Syntactically Awesome StyleSheets - Sass培训
4401 人关注
(78637/99817)
课程大纲:

         Syntactically Awesome StyleSheets - Sass培训

 

 

Very Short Intro
CSS limitations
Less vs Sass
Community and improvment
CSS Extensions
Nested Rules
Referencing Parent Selectors: &
Nested Properties
Placeholder Selectors: %foo
SassScript
Interactive Shell
Variables: $
Data Types
Operations
Parentheses
Functions
Interpolation: #{}
& in SassScript
Variable Defaults: !default
@-Rules and Directives
@import
@media
@extend
@at-root
@debug
@warn
@error
Control Directives & Expressions
if()
@if
@for
@each
@while
Mixin Directives
Defining a Mixin: @mixin
Including a Mixin: @include
Arguments
Passing Content Blocks to a Mixin
Function Directives
Output Style
:nested
:expanded
:compact
:compressed
Extending Sass
Defining Custom Sass Functions
Cache Stores
Custom Importers