Why did you used 4 HTML elements? This can be done with only 1 + :before / :after. Also, it’s “faux-centered” (hardcoded).
Here’s a quick refactoring for that: http://codepen.io/RazvanDH/pen/qdompP
Nicely done. +1
I’m only centering for aesthetics of the pen.
In order to add a story, you have to be logged in
Razvan Spatariu
10y agoWhy did you used 4 HTML elements? This can be done with only 1 + :before / :after. Also, it’s “faux-centered” (hardcoded).
Here’s a quick refactoring for that: http://codepen.io/RazvanDH/pen/qdompP
Matt Smith
10y agoNicely done. +1
I’m only centering for aesthetics of the pen.