Created
September 10, 2012 03:44
-
-
Save rgaspary/3688754 to your computer and use it in GitHub Desktop.
Zig Zag Effect
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
body { | |
background:url(http://i.imgur.com/qKsVr.png); | |
} | |
header { | |
width:240px; | |
background: white; | |
} | |
header:after { | |
content: " "; | |
display:block; | |
position: relative; | |
width: 240px; | |
bottom:-30px; | |
height:30px; | |
outline:1px solid red; | |
background: linear-gradient(-45deg, transparent 75%, white 75%) 0 50%, | |
linear-gradient( 45deg, transparent 75%, white 75%) 0 50%; | |
background-repeat: repeat-x; | |
background-size:30px 30px, 30px 30px; | |
} | |
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
<header>Lorem ipsum dolor sit amet .. jk. No Latin here. Filler text extends and stretches this element box.</header> |
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":"100","seethrough":"","prefixfree":"1","page":"html"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment