Home › Forums › JavaScript › Animate Text-decoration? › Re: Animate Text-decoration?
July 25, 2010 at 9:39 pm
#80364
mdrd
Participant
You actually don’t need javascript at all
Just use this.
#mydiv {
text-decoration: none;
}
#mydiv:hover {
text-decoration: underline;
}
It doesn’t have to be ‘underline’, that’s just an example.