domr Posted May 4, 2021 Posted May 4, 2021 Site URL: https://calliope-strawberry-54ay.squarespace.com/ Is there a way to underline nav items (primary and secondary) when hovering over them? Thank you
tuanphan Posted May 6, 2021 Posted May 6, 2021 Hi. It looks like you solved with this code? nav a:hover { background-size: 100% .5px !important } nav a { padding-bottom: 3px; overflow: visible !important; background-repeat: no-repeat !important; background-image: linear-gradient(to right,currentColor 100%,currentColor 0) !important; background-size: 0% .5px !important; background-position: 0% 100% !important; white-space: initial; transition: all ease-in-out 500ms !important; -ms-transition: all ease-in-out 500ms !important; -moz-transition: all ease-in-out 500ms !important; -webkit-transition: all ease-in-out 500ms !important } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.