リンクにカーソルが重なったときだけ下線を引く
text-decorationプロパティを使う
a { text-decoration: none; } a:hover { text-decoration: underline; }
カーソルが重なったときだけ、下線を引くようにしている!
色を変えるとかもするといいのかもね!
See the Pen MVJLGW by tamago (@tamago324) on CodePen.
text-decorationプロパティを使う
a { text-decoration: none; } a:hover { text-decoration: underline; }
カーソルが重なったときだけ、下線を引くようにしている!
色を変えるとかもするといいのかもね!
See the Pen MVJLGW by tamago (@tamago324) on CodePen.