Created
May 12, 2012 16:40
-
-
Save jcsrb/2667523 to your computer and use it in GitHub Desktop.
Border Image Gradient
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
/** | |
* Border Image Gradient | |
*/ | |
#bi{ | |
display:block; | |
width:500px; | |
height: 300px; | |
position: absolute; | |
top: 50%; | |
margin-top: -150px; | |
left: 50%; | |
margin-left: -250px; | |
background-color: #5C719C; | |
background-image: linear-gradient(bottom, #495A88 50%, #6E87AF 100%); | |
border: 20px solid #5C719C; | |
border-image: linear-gradient(top, #495A88 50%, #6E87AF 100%) 1 stretch; | |
} |
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 id="bi"> | |
</div> |
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
{"view":"split-vertical","fontsize":"90","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment