Design comparison
SolutionDesign
Solution retrospective
what is the purpose of the before and after pseudo-elements
Community feedback
- @thisfncodeioPosted over 4 years ago
First off, a great solution. Your solution does end up stretching the with of the entire screen which causes it to look off on widescreen devices. You could put a max-width on the container so it only stretches so far.
As for the purpose of pseudo-elements, they are exactly like regular elements except for the fact that they do not show up in the DOM therefore you cannot grab them with JS.
0@kcdePosted over 4 years ago@thisfncodeio I've effected the change... I'd love to hear your feedback once more
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord