Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Mobile first design using tailwind CSS framework

#tailwind-css

@Rizqyfm

Desktop design screenshot for the NFT preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Starting to apply tailwind-CSS framework to this project. Feedback is needed. Thanks!

Community feedback

@MinhKhangTran

Posted

Hi, nice solution!

I'm not familiar with tailwind but you can add this custom css to your body to center your card in the center vertically and horizontally.

display: grid;
place-items: center;
min-height: 100vh;

Also you can give your "clock" image the same value for width and height to have a full circle

p.e.

.counting img{
   width: 17px;
   height: 17px;
}

and to center it vertically you can use align-items: center on the parent

.counting{
   align-items: center;
}

I hope this helped.

Keep coding and having fun doing it🥰

Marked as helpful

0

@Rizqyfm

Posted

@MinhKhangTran your solution works so well! thank you very much for your help!

0

Please log in to post a comment

Log in with GitHub
Discord logo

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