Created
June 28, 2016 07:13
-
-
Save nishinoshake/75336a7535ae6ede3450565abcd85b68 to your computer and use it in GitHub Desktop.
グラデーションで左右に違う色
This file contains hidden or 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
.sample { | |
background-image: linear-gradient(to top, #e91d25, #e91d25), linear-gradient(to top, #929497, #929497); | |
background-position: left top, right top; | |
background-repeat: no-repeat, no-repeat; | |
background-size: 50% 100%, 50% 100%; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment