4 ms·
This is a great example of CSS becoming programming. With preprocessors (mentioned at the end of the article), prototyping can finish with an element like <
by rcsorensen 14y ago
This is a great example of CSS becoming programming.
With preprocessors (mentioned at the end of the article), prototyping can finish with an element like
<form class="content-box last mid-bg corner-box border-box bevel-box-light pad-box">
...
</form>
then turn back to your application.less, throw in:
.username-form {
.content-box;
.last;
.mid-bg;
.corner-box;
.border-box;
.bevel-box-light;
.pad-box;
}
and we're suddenly working with higher-level concepts in CSS, specifically not the basics of the style attributes.
Working this way gives you room to play with in-browser prototyping in a strong way, using just the inspector and classes on elements to build up your visuals.