Last active
August 29, 2015 14:27
-
-
Save tamalw/1e2d94926eba119470a8 to your computer and use it in GitHub Desktop.
Greece flag
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
/** | |
* Greece flag | |
*/ | |
.greece { | |
margin: 3em; | |
width: 24em; | |
height: 16em; | |
box-shadow: 0px 0px 10px lightgray; | |
background: linear-gradient(rgb(0,97,242) 50%, rgb(255,255,255) 0); | |
background-size: 100% calc(100% / 4.5); | |
} | |
.greece::before { | |
display: box; | |
width: calc(100% / 3 * 2 / 4.5 * 2.5); | |
height: calc(100% / 4.5 * 2.5); | |
content: ''; | |
background: linear-gradient(90deg, rgb(0,97,242) 40%, rgb(255,255,255) 0, rgb(255,255,255) 60%, rgb(0,97,242) 0) 0% 0%, | |
linear-gradient(90deg, rgb(0,97,242) 40%, rgb(255,255,255) 0, rgb(255,255,255) 60%, rgb(0,97,242) 0) 0% 25%, | |
linear-gradient(90deg, rgb(255,255,255) 50%, rgb(255,255,255) 0) 0% 50%, | |
linear-gradient(90deg, rgb(0,97,242) 40%, rgb(255,255,255) 0, rgb(255,255,255) 60%, rgb(0,97,242) 0) 0% 75%, | |
linear-gradient(90deg, rgb(0,97,242) 40%, rgb(255,255,255) 0, rgb(255,255,255) 60%, rgb(0,97,242) 0) 0% 100%; | |
background-size: 100% 20%; | |
background-repeat: no-repeat; | |
} |
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
<div class="greece"></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":"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