Node is saved as draft in My Content >> Draft
-
How to use Variables in Stylus
Hi Guys,
We can use variables in Stylus like the example given below.
$fontColor = #000
$basefont = 'Raleway' sans-serif
As shown in above example '$' is use before the variable and then variable name
How can use this ?
.block
font-size 15em
color $fontColor
font-family $basefont
You can only change properties in variables it will reflect in your page.
0 Comment(s)