Design comparison
SolutionDesign
Solution retrospective
The pig problem was to hide ::after
pseudoelement like a background curve (from very large circle), and keep a Iphone png visible outside the border. So i export a SVG circle from Figma and use it as background-color of ::after
instead making cricle from the ::after
, and i set a large ::after
background-size
Community feedback
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