Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 3 years ago

Skilled Learning Landing page with CUBE & Tailwind

tailwind-css, cube-css
Alex•2,010
@AlexKMarshall
A solution to the Skilled e-learning landing page challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


This was all nice and straightforward except for the hero image. I couldn't find a good way at all to position it with the stripe meeting the page edge without also making the document flow incorrectly.

So I broke up the image and recreated it with HTML & CSS. This has the advantage of the image and the statistics now being properly in the document, and taking up the correct space. The decorative stripe is added with a pseudo-element. This is more fiddly than I'd like, and I suspect the firefox screenshot tool won't like having overflow-x: hidden on the body. But I was unable to find a better way to solve this.

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 Alex'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