Last active
August 29, 2015 14:22
-
-
Save brito/f337002528cbec292ff0 to your computer and use it in GitHub Desktop.
A simple launchpad
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
/* A simple launchpad */ | |
/* All you need for general layout */ | |
.launchpad a { display:inline-block; text-align:center; margin:0 1em } | |
.launchpad a img { display:block } | |
/* This will allow greater flexibility with images, if not precomposed */ | |
.launchpad img { border-radius:100px; max-height:300px; max-width:300px; | |
/* not for IE, but if images are square, no problem */ | |
-webkit-clip-path:circle(); clip-path:circle() } | |
/* Probably not necessary if styles inherit well */ | |
.launchpad a { text-decoration:none; color:inherit } | |
.launchpad { font:18px 'OpenSansRegular','Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif } |
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
<nav class=launchpad> | |
<a href=#> | |
<img src="http://placekitten.com/g/200/300"> | |
Family Services | |
</a> | |
<a href=#> | |
<img src="http://placekitten.com/g/200/300"> | |
Adult Protective Services | |
</a> | |
<a href=#> | |
<img src="http://placekitten.com/g/200/300"> | |
Foster Care | |
</a> | |
<a href=#> | |
<img src="http://placekitten.com/g/200/300"> | |
Child Welfare | |
</a> | |
</nav> |
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