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

Loop website using html and css

@webkingcoder

Desktop design screenshot for the Loopstudios landing page coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


I don't know how to set hover border width please help me.

Community feedback

@Rabin92

Posted

Hey @webkingcoder,

To get the desired hover border width, replace the following code:

.help:hover {
  border-bottom: 2px solid white;
  padding-bottom: 10px;
} 

To this:

nav li:hover::after {
  content: '';
  display: block;
  margin: 0 auto;
  width: 30%;
  padding-top: 0.4rem;
  border-bottom: 2px solid #fff;
}

Hope this helps!

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