Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS edge gradient border for sub-menu Reply To: edge gradient border for sub-menu

#239974
Paulie_D
Member

There’s a couple of ways to do that but the simplest is

li a:hover {
  text-decoration: line-through;
}

https://jsfiddle.net/c6y0hLp5/

If you want a gradient on the ‘line’ you’d have to use a positioned pseudo-element.

https://jsfiddle.net/d76nuuzj/