Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 9 months ago

Workit Landing Page

P
pietrodev01•260
@pietrodev01
A solution to the Workit landing page challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

Workit Landing Page

Here's what I learned:

To make a circle make sure the width and height are the same as it is on figma and use border radius.

Curved bottom: clip-path: ellipse(100% 100% at top); ellipse(100% 100%) → Creates an ellipse that spans 100% of the width and 100% of the height of the element

at top → cuts the ellipse at the top of the element with the ellipse on the bottom

To put an image on top of the ellipse I had to create an element outside of its container. I then did position absolute and centered it.

On the desktop version I set the width of the photo to a vw value so it is responsive with width (calc(25vw + 20vh)). I set the value of left of the img container to a vw value as well so its container is responsive with width.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on pietrodev01'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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License