Skip to content

Instantly share code, notes, and snippets.

@diurivj
Created October 30, 2018 22:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save diurivj/9eace3cf067006f1437945e67b8a7818 to your computer and use it in GitHub Desktop.
Save diurivj/9eace3cf067006f1437945e67b8a7818 to your computer and use it in GitHub Desktop.
windows logo
<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>
#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