Last active
February 8, 2016 18:18
-
-
Save chrismarksus/776a32fe246e91380037 to your computer and use it in GitHub Desktop.
The difference between these 2 purples
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
/** | |
* The difference between these 2 purples | |
*/ | |
body{ | |
font-weight: bold; | |
font-family: 'Comfortaa', cursive; | |
font-size: 2em; | |
background-color: #d3d3d3; | |
} | |
.container { | |
margin: 0 auto; | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
resize: both; | |
overflow: auto; | |
} | |
.color { | |
color:#fff; | |
height:100%; | |
width: 400px; | |
height:400px; | |
float: left; | |
padding: .5em; | |
} | |
.color-a { | |
background-color:#592F6F; | |
} | |
.color-b { | |
background-color:#6a3379; | |
} | |
.color-c { | |
background-color:#683277; | |
} |
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
<!-- content to be placed inside <body>…</body> --> | |
<link href='https://fonts.googleapis.com/css?family=Comfortaa' rel='stylesheet' type='text/css'> | |
<div class="container"> | |
<div class="color color-a">#592F6F</div> | |
<div class="color color-b">#6a3379</div> | |
<div class="color color-c">#683277</div> | |
</div> |
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
// alert('Hello world!'); |
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
{"view":"separate","fontsize":"100","seethrough":"","prefixfree":"1","page":"result"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment