Created
October 28, 2017 02:35
-
-
Save koreyou/00fc3b29a1dce587c7de1b99acf4b009 to your computer and use it in GitHub Desktop.
Vertically split colors within one <div> element
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
<div style="background-image: linear-gradient(bottom, #FFD51A 50%, #FAC815 50%); | |
background-image: -o-linear-gradient(bottom, #33D51A 50%, #FAC815 50%); | |
background-image: -moz-linear-gradient(bottom, #33D51A 50%, #FAC815 50%); | |
background-image: -webkit-linear-gradient(bottom, #33D51A 50%, #FAC815 50%); | |
background-image: -ms-linear-gradient(bottom, #33D51A 50%, #FAC815 50%); | |
display: inline-block;">aaaa</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment