Created
October 11, 2013 23:32
-
-
Save dahngeek/6943628 to your computer and use it in GitHub Desktop.
Medio cuadro foto medio cuadro triangulo
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
/** | |
* Medio cuadro foto medio cuadro triangulo | |
*/ | |
body { | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height: 100%;} | |
#triangulo { | |
width: 0px; | |
height: 0px; | |
border-top: 0px; | |
border-left: 100px solid transparent; | |
border-right: 0px solid transparent; | |
float: left; | |
border-bottom: 100px solid rgba(0,0,0,0.7); | |
} | |
#medio { | |
height: 100px; | |
width: 100px; | |
background: #aea; | |
} |
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 id="triangulo"></div> | |
<div id="medio"></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","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment