|
|
|
|
|
by BinaryIdiot
3734 days ago
|
|
> totally creeps me out. I do it because other people refuse to use preprocessors and think that altering the HTML to include presentational details is fine (see Bootstrap.) But it still feels gross to me. To be fair HTML is the presentation. I can understand not wanting to mix business logic from JavaScript into a page but CSS is just the other half of HTML. If it makes it nicer you could use more generic class terms (such as page information or HTML structure location, etc). |
|
HTML is the content and description of content. You put a <strong> tag around text to make it strong emphasis.
CSS is the presentation. Your browser sees the <strong> tag and applies its default style of making it bold.