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

Responsive product page using some click event in react.js

@tee4tao

Desktop design screenshot for the E-commerce product page coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
3intermediate
View challenge

Design comparison


SolutionDesign

Solution retrospective


For the links in the nav-bar, according to the original design, anytime one hover over each link it displays a border at the bottom of the link. Now my question is how can one make such a border have some spacing at the bottom of the element (as in, it looks as if there is a margin(some spaces) between the link element and the border at its bottom)

Community feedback

@kabir-afk

Posted

hey, not much fluent in tailwind CSS, but this might help

<li className="link capitalize text-Dark-grayish-blue text-lg border-b-4 border-transparent  hover:border-blue-500">
     <a href="#">collections</a>
</li>

what this'll do is add blue border in the bottom of link when hovered on... you can change it to whatever the design requires it to be....with some py and transition it'll look clean and smooth . . . hope I was able to help . . .keep the grind !! 💪💪

Marked as helpful

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