@kcde
Posted
thanks for the clarification
Looking to hire developers?
what is the purpose of the before and after pseudo-elements
@kcde
Posted
thanks for the clarification
@thisfncodeio
Posted
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.
@kcde
Posted
@thisfncodeio I've effected the change... I'd love to hear your feedback once more
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