The fact that the documentation recommends using <span> as the outermost parent is another issue. It's not valid HTML to put block-level elements like <div>s inside a <span>. A span may only accept phrasing content as children.
http://perpetual.education is a design/programming school. We like to be part of the discussion over here at Dev.to / We have time-slots for free conversations for career advice IRL : )
The fact that the documentation recommends using
<span>
as the outermost parent is another issue. It's not valid HTML to put block-level elements like<div>
s inside a<span>
. A span may only accept phrasing content as children.It's true!
<i>
is dead too. And all those div? Gotta be something semantic to use...