Created
March 27, 2014 17:45
-
-
Save pcalves/9813606 to your computer and use it in GitHub Desktop.
CSS border experiments
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 experiments | |
*/ | |
.bd { | |
display: inline-block; | |
border-top: 100px solid #e55; | |
border-left: 100px solid #e55; | |
border-right: 100px solid #e55; | |
border-bottom: 100px solid #e55; | |
width: 1px; | |
height: 0px; | |
background: #000; | |
} | |
.bdt { | |
border-top-color: #000; | |
} | |
.bdl { | |
border-left-color: #000; | |
} | |
.bdr { | |
border-right-color: #000; | |
} | |
.bdb { | |
border-bottom-color: #000; | |
} |
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="bd"></div> | |
<div class="bd bdt"></div> | |
<div class="bd bdr"></div> | |
<div class="bd bdl"></div> | |
<div class="bd bdb"></div> | |
<div class="bd bdb bdr"></div> | |
<div class="bd bdt bdl"></div> | |
<div class="bd bdb bdr"></div> | |
<div class="bd bdt bdl"></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
{"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