Responsive Landing Page using CUBE CSS - Every Layout - Codyhouse

Please log in to post a comment
Log in with GitHubCommunity feedback
- @Bayoumi-dev
It looks good Mitchell,
- I suggest you put the status of the preview card component in the
list item
to add moresemantics
to your project. like this:
<ul class="stats-preview__stats"> <li> <span class="stat-number">10K+</span> <span class="stat-name">Companies</span> </li> <li> <span class="stat-number">314</span> <span class="stat-name">Templates</span> </li> <li> <span class="stat-number">12M+</span> <span class="stat-name">Queries</span> </li> </ul>
- Also I suggest you center the component on the page, by giving the parent element
<main>
the following properties:
main { display: flex; justify-content: center; align-items: center; min-height: 100vh; }
Some Resources
- How to Center Anything with CSS - Align a Div, Text, and More
- 11 Ways to Center Div or Text in Div in CSS
I hope this is useful to you... Keep coding👍
- I suggest you put the status of the preview card component in the
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