Rabin Gharti Magar• 455
@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