Fixing body
and html
class specificity
A better format for classes on body and html elements.
Online Craftsman
body
and html
class specificityA better format for classes on body and html elements.
There was a recent post on CSS-Tricks about HTML vs Body in CSS which was interesting. It made me think about classes that I typically assign to the html tag vs the body tag and I wanted to take the opportunity to codify my process. In a nutshell, the html tag is for classes that […]