For font size combine rem with vw and vh by calc or clamp function
On portrait screen: font-size should mostly depend on vw (because we may not have enough width)
On landscape screen: font-size should mostly depend on vh (because we may not have enough height)
For this circle images
I used vh for their widths and their right and top positions is based on each other to avoid overlapping each other
No comments on this solution yet.
Be first to post.
Join Our Slack Channel
Chat and discuss solutions with a growing community of developers.