12
9

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

link_toで作ったリンクの 下線部を消したい

Posted at

link_toで作ったリンクの下線部をどうしてもを消したい

EDIT.png # haml h1.png

scss

c1.png

検証

1.png

解決法 

link_to にクラスをつけて scss で text-decoration: none; 

haml

h2.png

scss

c2.png

結果

2.png # 検証 4.png # その他 html cssでも対応出来る
12
9
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
12
9

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?