Created
January 24, 2013 19:55
-
-
Save argestes/4627030 to your computer and use it in GitHub Desktop.
Untitled
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
div { | |
width: 100px; | |
height: 50px; | |
/* The background is used to specify the border background */ | |
background: -moz-linear-gradient(top,#f00, #ff0); | |
background: -webkit-linear-gradient(top,#fff,#222, #fff); | |
/* Background origin is the padding box by default. | |
Override to make the background cover the border as well. */ | |
-moz-background-origin: border; | |
background-origin: border-box; | |
/* A transparent border determines the width */ | |
border: 1px solid transparent; | |
border-top:none; | |
border-bottom:none; | |
box-shadow: | |
inset -999px 0 0 #fff; /* The background color */ | |
} | |
p{ | |
margin:auto; | |
} |
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
<div class="one"> | |
<div> | |
<p>Selam</p> | |
<p>Merhaba</p> | |
</div> | |
</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":"90","seethrough":"","prefixfree":"1","page":"html"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment