how to make an underline hover in css only when you hover over it code example
Example 1: text underline hover css
a:hover {
text-decoration: underline;
}
Example 2: Text that shows an underline on hover
&:hover {
text-decoration: underline;
}