Created
January 2, 2019 05:21
-
-
Save kenzo-tanaka/6fc3e9f035cea16adfa6b5d5c1efe374 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
/* 黄色 */ | |
.underline1 { | |
color: #333; | |
text-decoration: none; | |
background: linear-gradient(transparent 50%, rgba(255, 252, 107, .69) 50%); | |
background-repeat: no-repeat; | |
background-size: 0% 100%; | |
transition: background-size 0.1s; | |
} | |
/* 青色 */ | |
.underline2 { | |
color: #333; | |
text-decoration: none; | |
background: linear-gradient(transparent 50%, rgba(107, 182, 255, .24) 50%); | |
background-repeat: no-repeat; | |
background-size: 0% 100%; | |
transition: background-size 0.1s; | |
} | |
/* 緑色 */ | |
.underline3 { | |
color: #333; | |
text-decoration: none; | |
background: linear-gradient(transparent 50%, rgba(151, 232, 154, .69) 50%); | |
background-repeat: no-repeat; | |
background-size: 0% 100%; | |
transition: background-size 0.1s; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment