Overriding Span Elements
Learn to override the span elements and flip the behavior of the inline and block-level elements.
In this lesson, we’ll keep the default behavior on all the block-level elements, and we’ll only
override the <span>
elements.
Setting the <span>
elements to display: block
In this example, all the elements are styled as block elements, even though we have two <span>
elements on the page. All it took was adding the ...