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

Card component using HTML5, CSS and SASS

Filipovici Bogdan Andrei•30
@bogdiusf
A solution to the 3-column preview card component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


Hello everyone. I will start off by saying i am just getting started with front-end development. For this particular project, if possible, I ask you guys for some piece of advice regarding the following topics, in order for me to not hardcode them anymore:

**

  1. Making the page content a bit more dynamic, a.i not using so many fixed values for heights, widths(such as, height: 100px and so on)
  2. Dealing with child, grandchild elements being relative to their parents(eg: grandchild being relative to child (child being parent to grandchild) and child being relative to parent(grandparent))
  3. Also elements to auto-resize based on the screen view port. (eg: wrapping content to auto-resize in order for text or any other child element not to break through and overflow).
  4. Vertical align (can't seem to auto fix this. only solution found was using positioning and then top: x %) **

Thank you!

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 Filipovici Bogdan Andrei'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