Created
June 22, 2016 08:46
-
-
Save mylxsw/9634f24d8d02d3ac745375621e665ed0 to your computer and use it in GitHub Desktop.
CSS彩虹渐变效果
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
.rainbow { | |
/* 页面顶部彩虹(渐变)效果 */ | |
height: 4px; | |
position: absolute; | |
top: 0; | |
width: 100%; | |
background-image: -webkit-linear-gradient(left, #EF0000, #FBC4ED); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment