Created
March 12, 2016 18:26
-
-
Save sudarshanReddykurri/aa4bb60c0a5ddb97c6d2 to your computer and use it in GitHub Desktop.
CSS Border Image Demo using Gradients
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
/* CSS Border Image Demo using Gradients */ | |
.bi{ | |
padding: 1em; | |
border: 1em solid transparent; | |
background: linear-gradient(white, white), | |
url("http://3.imimg.com/data3/HO/LB/MY-9934284/rainbow-and-teakwood-stone-mosaic-tiles-250x250.jpg"); | |
background-size: cover; | |
background-clip: padding-box, border-box; | |
background-origin: border-box; | |
width: 200px; | |
height:200px; | |
margin: 20px; | |
} |
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
<!-- CSS Border Image Demo using Gradients --> | |
<div class="bi"></div> |
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
// alert('Hello world!'); |
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
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment