summaryrefslogtreecommitdiffhomepage
path: root/stylus.html.markdown
diff options
context:
space:
mode:
authorDivay Prakash <divayprakash3@gmail.com>2019-01-10 17:07:51 +0530
committerDivay Prakash <divayprakash3@gmail.com>2019-01-10 17:07:51 +0530
commitaa21998323ce4ba75fb2961ffdd733de7f0e4787 (patch)
tree7700c54a545ced077019d5689193f13c49c0b14e /stylus.html.markdown
parent2442861c2701b33c513584bb21898f812f9170e0 (diff)
Fix empty lines
Diffstat (limited to 'stylus.html.markdown')
-rw-r--r--stylus.html.markdown6
1 files changed, 3 insertions, 3 deletions
diff --git a/stylus.html.markdown b/stylus.html.markdown
index 27dc3401..1c5ddd32 100644
--- a/stylus.html.markdown
+++ b/stylus.html.markdown
@@ -43,7 +43,6 @@ body
body
background: #000
-
// Single-line comments are removed when Stylus is compiled into CSS.
/* Multi-line comments are preserved. */
@@ -112,7 +111,6 @@ each time it appears throughout your style sheet.
* /
-
/* Mixins
==============================*/
@@ -181,6 +179,7 @@ box-shadow()
button
border-radius 1px 2px / 3px 4px
+
/* Functions
==============================*/
@@ -197,6 +196,7 @@ add(a, b)
body
padding add(10px, 5)
+
/* Conditions
==============================*/
compare(a, b)
@@ -211,6 +211,7 @@ compare(5, 2) // => bigger
compare(1, 5) // => smaller
compare(10, 10) // => equal
+
/* Iterations
==============================*/
@@ -222,7 +223,6 @@ for <val-name> [, <key-name>] in <expression>
for $item in (1..2) /* Repeat block 12 times */
.col-{$item}
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.