Created
December 10, 2015 19:09
-
-
Save darth-cheney/58ad958f700a9a6282ce to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
#logo { | |
display: flex; | |
width: 20rem; | |
height: 20rem; | |
text-align: center; | |
background-color: purple; | |
justify-content: center; | |
align-items: center; | |
border-radius: 100%; | |
border: 1px solid purple; | |
font-size: 8rem; | |
font-family: sans-serif; | |
color: white; | |
font-weight: bold; | |
transition: color 0.4s ease, background-color 0.4s ease; | |
} | |
#logo:hover { | |
content: "▼"; | |
color: purple; | |
background-color: transparent; | |
transition: color 0.4s ease, background-color 0.4s ease; | |
} |
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="logo"> | |
<div>M</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
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment