mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
[Sass] Fix some reference errors.
This commit is contained in:
parent
ff207e8488
commit
8fa0bf127f
1 changed files with 3 additions and 2 deletions
|
@ -838,12 +838,12 @@ SassScript defines some useful functions
|
|||
that are called using the normal CSS function syntax:
|
||||
|
||||
p {
|
||||
color: hsl(0, 100%, 50%);
|
||||
color: hsl(0, 100%, 0.5);
|
||||
}
|
||||
|
||||
is compiled to:
|
||||
|
||||
#main {
|
||||
p {
|
||||
color: #ff0000; }
|
||||
|
||||
See {Sass::Script::Functions} for a full listing of Sass functions,
|
||||
|
@ -1541,6 +1541,7 @@ For example:
|
|||
width: $width;
|
||||
style: dashed;
|
||||
}
|
||||
}
|
||||
p { @include sexy-border(blue); }
|
||||
h1 { @include sexy-border(blue, 2in); }
|
||||
|
||||
|
|
Loading…
Reference in a new issue