Article preview component (HTML + CSS + JS vanilla)

Solution retrospective
I think implementation is pretty close to the design.
What challenges did you encounter, and how did you overcome them?- Positioning the modal: Used
position: absolute
. - Drawing the bottom "triangle" of the modal: Used a combination of
border-top
with transparentborder-left
andborder-right
.
Any advice/feedback welcome.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Antoine's solution.
Join 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