Preprocessors make this job easier by allowing you to declare this code in a reusable component called
Chapter 1
■
IntroduCtIon to preproCessors
5
This example assumes that this reusable mixin is named rounded-corners. The code for this in the Sass
preprocessor would look like Listing
1-9
.
Do'stlaringiz bilan baham: