Created
November 9, 2016 21:23
-
-
Save anaguzmn/62406ea30195366700aa0cf8ea54b570 to your computer and use it in GitHub Desktop.
Exported from Popcode. Click to import: https://popcode.org/?gist=62406ea30195366700aa0cf8ea54b570
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>4 boxes</title> | |
</head> | |
<body> | |
<div class="all" id="one"></div> | |
<div class="all" id="two"></div> | |
<div class="allbig" id="three"></div> | |
<div class="allbig" id="four"></div> | |
</body> | |
</html> |
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
.all{ | |
height: 200px; | |
width: 200px; | |
border-radius: 40px; | |
} | |
.allbig { | |
height: 200px; | |
width: 200px; | |
float: right; | |
border-radius: 40px; | |
} | |
#one{ | |
background-color: green; | |
text-align: right; | |
float: right; | |
} | |
#two{ | |
background-color: yellow; | |
float: right; | |
} | |
#three{ | |
background-color: blue; | |
float: right; | |
} | |
#four{ | |
background-color: red; | |
float: right; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment