CSS on its own can be fun, but stylesheets are getting larger, more complex, and harder to maintain.
This is where a preprocessor can help.
This is where a preprocessor can help.
What is Sass?
Syntactically Awesome Stylesheets
It allows us to write next-gen CSS today, manage large CSS files, and split them across different files.
-Variables
-Nested rules
-Mixins
-Functions
-Parent Selector
Syntactically Awesome Stylesheets
It allows us to write next-gen CSS today, manage large CSS files, and split them across different files.
-Variables
-Nested rules
-Mixins
-Functions
-Parent Selector
Every valid code in CSS is valid Sass code.
So you can take your CSS files content and put it in a Sass and it will work just fine.
So you can take your CSS files content and put it in a Sass and it will work just fine.
Files with the .scss extension is the CSS we used to write with semicolons and curly brackets.
Thatβs the main difference between Sass and Scss.
That's it π
Thatβs the main difference between Sass and Scss.
That's it π
Variables
Sass provides the use of variables.
This is a very important feature because it lets you create variables for general assets like colors and fonts, and use them in any file.
Sass provides the use of variables.
This is a very important feature because it lets you create variables for general assets like colors and fonts, and use them in any file.
@mixin @include @import I gather all my twitter threads in a githup repo, make sure to give it a visit π
github.com
github.com
@mixin @include @import If you liked this thread, it would help me a lot if you give it some love π and share it π with your friends.
Make sure to follow @creator_yudai for more content like this.
See you in the next one π€
Make sure to follow @creator_yudai for more content like this.
See you in the next one π€
Loading suggestions...