HTML and CSS Reference
In-Depth Information
less.html#mixins . The following sections show you how to create a rule that
uses CSS transforms in Sass and Less.
The code snippet for Sass is as follows:
.btn-arrow {
@include transform(scale(2));
The code snippet for Less is as follows:
.btn-arrow {
Output CSS
The output CSS would be as follows:
.btn-arrow {
-webkit-transform: scale(2);
-moz-transform: scale(2);
-ms-transform: scale(2);
-o-transform: scale(2);
transform: scale(2);
Converting HTML5 Boilerplate CSS to Sass or
You could typically just rename the main.css file to main.scss or main.less and
start using that as your base Sass or Less file. To compile these files to the corres-
Search WWH ::

Custom Search