-
-
Save alcidesqueiroz/bc03e735a1dbd25b2a2a18e8a84c66e9 to your computer and use it in GitHub Desktop.
It's 2018: you shouldn't be writing vanilla CSS - Example 9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
repeat($str, $qty) { | |
if ($qty < 1) { | |
return ''; | |
} | |
$ret = ''; | |
for $i in 1..$qty { | |
$ret += $str; | |
} | |
$ret; | |
} | |
h1:before{ | |
content: repeat(ha, 5); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment