We easily found the LESS variable declarations @color-base: #2d5e8b; is the color for all 3 classes (class). And with this Declaration, only each time you use, just call back @color variables-base, at the same time later if you want to change the color, then just change the color in the @color variables-base. Really convenient and easy to adjust to not you.3 MixinsMixins allow the full attributes of a class in CSS in a different class with a fairly simple way is to add the name of this class as an attribute of the class. To understand more, we look at the following example:Suppose we declare a class (class) is used to show the gradient color as follows:
đang được dịch, vui lòng đợi..