A Pen by Diego Vazquez on CodePen.
Created
October 30, 2018 22:16
-
-
Save diurivj/9eace3cf067006f1437945e67b8a7818 to your computer and use it in GitHub Desktop.
windows logo
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
<div id="container"> | |
<div id="logo"> | |
<div id="rojo"> | |
<div id="rojo2"> | |
<div id="rojo3"></div> | |
</div> | |
</div> | |
<div id="verde"></div> | |
<div id="azul"></div> | |
<div id="amarillo"></div> | |
</div> | |
</div> |
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
#container { | |
width: 300px; | |
height: 300px; | |
border: 1px solid black | |
} | |
#logo { | |
width: 200px; | |
height: 200px; | |
} | |
div { | |
margin: 2px; | |
float: left; | |
} | |
#rojo { | |
background-color: red; | |
width: 70px; | |
height: 70px; | |
padding-top: 20px; | |
padding-left: 20px; | |
box-sizing: border-box; | |
} | |
#azul { | |
background-color: blue; | |
width: 70px; | |
height: 70px; | |
} | |
#verde { | |
background-color: green; | |
width: 70px; | |
height: 70px; | |
} | |
#amarillo { | |
background-color: yellow; | |
width: 70px; | |
height: 70px; | |
} | |
#rojo2 { | |
margin: 0px; | |
background-color: pink; | |
opacity: 0.5; | |
width: 50px; | |
height: 50px; | |
padding-top: 20px; | |
padding-left: 20px; | |
box-sizing: border-box; | |
} | |
#rojo3 { | |
margin: 0px; | |
background-color: black; | |
opacity: 0.5; | |
width: 30px; | |
height: 30px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment