Skip to content

Instantly share code, notes, and snippets.

@tamalw
Last active August 29, 2015 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tamalw/5344386dc229d61cd6b0 to your computer and use it in GitHub Desktop.
Save tamalw/5344386dc229d61cd6b0 to your computer and use it in GitHub Desktop.
Texas Flag
/**
* Texas Flag
*/
.texas {
margin: 3em;
width: 24em;
height: 16em;
box-shadow: 0px 0px 10px lightgray;
background: linear-gradient(rgb(255,255,255) 50%, rgb(191,10,48) 50%);
}
.texas::before {
display: flex;
align-items: center;
justify-content: center;
line-height: 1em;
width: 33%;
height: 100%;
content: '★';
font-size: 6em;
color: rgb(255,255,255);
background: rgb(0,40,104);
}
<div class="texas"></div>
// alert('Hello world!');
{"view":"split-vertical","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