HTML and CSS Reference
In-Depth Information
Both classes do the same thing, but the next developer doesn't have to
remember to be American!
If your selectors include words that have US and UK spelling variants,
include both.
LET THE CODE DO THE HEAVY LIFTING
Also in inuit.css, I devised a method to not need class="end" for the last
column in a row of grids. Most frameworks require this class, or something
similar, to omit the margin-right on the last item in a list and thus
prevent the grid system from breaking.
Remembering to add this class isn't a big deal, but it's still one more thing to
remember. So, I worked out a way to remove it.
In another major inuit.css update, I removed a .grid class that used to be
required for every single grid element. This was a purely functional class that
developers had to add to any <div> that they wanted to behave like a grid
column. For example:
<div class="grid grid-4">
</div>
This .grid class, in conjunction with the .grid-4 class, basically says, “I
want this <div> to be a grid item and to span four columns.” This isn't a
huge burden on developers, but again, it's one more thing that could be
removed to make their lives easier.
Search WWH ::




Custom Search