Last active
April 23, 2019 08:03
-
-
Save naturallucky/23fd3c31cd5bf1ab2b58c2f2d63f59fb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3/3 CSSで斜線を引く方法:表の空セルなど任意のHTML要素に [ホームページ作成] All About | |
https://allabout.co.jp/gm/gc/457196/3/ | |
.diagnal-line { | |
background-image: linear-gradient | |
(to top right, transparent, transparent 48%, red 48%, red 52%, transparent 52%, transparent); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment