Created
March 13, 2013 05:01
-
-
Save pedrodelgallego/5149510 to your computer and use it in GitHub Desktop.
Untitled
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
.container { | |
position: relative; | |
left: 100px; | |
margin: 200px auto; | |
width: 500px; | |
height: 500px; | |
} | |
.circle { | |
position: absolute; | |
display: inline-block; | |
height: 200px; | |
width: 200px; | |
border-radius: 50%; | |
border: 1px solid #444; | |
} | |
.circle1{ | |
top: 100px; | |
left: 75px; | |
background: rgba(255, 0, 0, .2); | |
} | |
.circle2{ | |
background: rgba(0, 255, 0, .2); | |
} | |
.circle3{ | |
top: 100px; | |
left:-75px; | |
background: rgba(0, 0, 255, .2); | |
} |
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
<script src="http://code.jquery.com/jquery-1.9.1.js"></script> | |
<div class="container"> | |
<div class="circle circle1"> </div> | |
<div class="circle circle2"> </div> | |
<div class="circle circle3"> </div> | |
</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-vertical","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