Benefits of SaaS Over Conventional CSS

SaaS allows you to use in a nesting loop, which reduces the number of lines by avoiding writing the full html tag structure again and again. It provides benefits in nesting
1. Easy to read
2. Prevent rewrite selectors multiple times
3. More maintainable code

SaaS provides a special feature named Mixin. When variables or styles are used multiple times then it becomes hatic to use, for ease of this, mixin is used. It is like a function which return a value or set of values and take parameters including default values.

@mixin set-fonts( $family: 'Ubuntu' , $weight: 400 , $style: normal ) {

font-family: $family , 'Arial', 'Helvetica', sans-serif;

font-style: $style;

font-weight: $weight;

}

https://erpsolutions.oodles.io/developer-blogs/Benefits-of-SaaS-Ove...

Views: 3

Comment

You need to be a member of On Feet Nation to add comments!

Join On Feet Nation

© 2024   Created by PH the vintage.   Powered by

Badges  |  Report an Issue  |  Terms of Service