mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
Fix empty lines
This commit is contained in:
parent
2442861c27
commit
aa21998323
@ -43,7 +43,6 @@ body
|
|||||||
body
|
body
|
||||||
background: #000
|
background: #000
|
||||||
|
|
||||||
|
|
||||||
// Single-line comments are removed when Stylus is compiled into CSS.
|
// Single-line comments are removed when Stylus is compiled into CSS.
|
||||||
|
|
||||||
/* Multi-line comments are preserved. */
|
/* Multi-line comments are preserved. */
|
||||||
@ -112,7 +111,6 @@ each time it appears throughout your style sheet.
|
|||||||
* /
|
* /
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Mixins
|
/* Mixins
|
||||||
==============================*/
|
==============================*/
|
||||||
|
|
||||||
@ -181,6 +179,7 @@ box-shadow()
|
|||||||
button
|
button
|
||||||
border-radius 1px 2px / 3px 4px
|
border-radius 1px 2px / 3px 4px
|
||||||
|
|
||||||
|
|
||||||
/* Functions
|
/* Functions
|
||||||
==============================*/
|
==============================*/
|
||||||
|
|
||||||
@ -197,6 +196,7 @@ add(a, b)
|
|||||||
body
|
body
|
||||||
padding add(10px, 5)
|
padding add(10px, 5)
|
||||||
|
|
||||||
|
|
||||||
/* Conditions
|
/* Conditions
|
||||||
==============================*/
|
==============================*/
|
||||||
compare(a, b)
|
compare(a, b)
|
||||||
@ -211,6 +211,7 @@ compare(5, 2) // => bigger
|
|||||||
compare(1, 5) // => smaller
|
compare(1, 5) // => smaller
|
||||||
compare(10, 10) // => equal
|
compare(10, 10) // => equal
|
||||||
|
|
||||||
|
|
||||||
/* Iterations
|
/* Iterations
|
||||||
==============================*/
|
==============================*/
|
||||||
|
|
||||||
@ -222,7 +223,6 @@ for <val-name> [, <key-name>] in <expression>
|
|||||||
for $item in (1..2) /* Repeat block 12 times */
|
for $item in (1..2) /* Repeat block 12 times */
|
||||||
.col-{$item}
|
.col-{$item}
|
||||||
width ($item / 12) * 100% /* Calculate row by column number */
|
width ($item / 12) * 100% /* Calculate row by column number */
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Now that you know a little about this powerful CSS preprocessor, you're ready to create more dynamic style sheets. To learn more, visit the official stylus documentation at http://stylus-lang.com.
|
Now that you know a little about this powerful CSS preprocessor, you're ready to create more dynamic style sheets. To learn more, visit the official stylus documentation at http://stylus-lang.com.
|
||||||
|
Loading…
Reference in New Issue
Block a user