Created
August 15, 2013 17:03
-
-
Save hardfire/6242542 to your computer and use it in GitHub Desktop.
ACM Logo in CSS, challange accepted
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
/** | |
* ACM Logo in CSS, challange accepted | |
*/ | |
#acm-logo{ | |
width:200px; | |
height:200px; | |
position:relative; | |
} | |
#diamond{ | |
width:50%; | |
height:50%; | |
transform:rotate(45deg); | |
background: linear-gradient(to right, #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); | |
margin:15%; | |
position:absolute; | |
} | |
#circle{ | |
position:absolute;; | |
width:40%; | |
height:40%; | |
border:4px solid #fff; | |
margin:18.5%; | |
border-radius:1000px; | |
background: linear-gradient(to top, #1e5799 0%,#7db9e8 100%); | |
} | |
#text{ | |
position:absolute; | |
top:30%; | |
left:23%; | |
color:#fff; | |
font-family:Verdana; | |
font-size:30px; | |
font-weight:bold; | |
} |
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="acm-logo"> | |
<div id="diamond"></div> | |
<div id="circle"></div> | |
<div id="text">acm</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","fontsize":"110","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment