4 ms·
.italic { font-style: italic } from [0] This is certainly odd considering how far we've come in embracing semantic markup and styling. [0]: http://www.bass
by daturkel 12y ago
.italic { font-style: italic }
from [0]
This is certainly odd considering how far we've come in embracing semantic markup and styling.
[0]: http://www.basscss.com/docs/utility-typography/ http://www.basscss.com/docs/utility-typography/
- Geee 12y agoConsidering how we build HTML from templates anyway, this form might be more useful, especially in something like React components. I.e. you build the full class string in code rather than defining separate CSS classes for each component. Your components are obviously named semantically and all relevant CSS styles / transitions / animations are defined inside the component code.
- musername 12y agothe ypeface isn't semantic so the name reflecting the typeface isn't either. emphasis has semantic value (think of the latex command \emph), but italics is styling
- vinspee 12y agoClasses have no semantic value.