What do you want to save?
Add Code snippet
New code examples
-
CSS 2021-10-12 19:40:08
sass if
// How to create an if-else clause in sass // First create a mixin, which is like a function in javaScript // And pass in an optional parameter to the mixin to hold the value // js ==> if, else if, else, while sass is ==> @if, @else if, @else // No... Add solution