Yeah, that’s visually more appealing. Also better to use relative units for padding than pixels!
I forgot to mention that the choice of h3
(or ###
in the markdown) is arbitrary. And from a semantic standpoint, using an aside
element might be preferable over a div
. That doesn’t change anything with the CSS as long as the class important
is set for the aside
element.