Create a More Complex Shape Using CSS and HTML
Summary
- The
::before
and ::after
pseudo-elements are used to add something before or after a selected element. - The
::before
and ::after
pseudo-elements need a content
property. - Typically used to add photos or text to an element.
Final Code