Skip to content

Instantly share code, notes, and snippets.

@brito
Last active August 29, 2015 14:22
Show Gist options
  • Save brito/f337002528cbec292ff0 to your computer and use it in GitHub Desktop.
Save brito/f337002528cbec292ff0 to your computer and use it in GitHub Desktop.
A simple launchpad
/* 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 }
<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>
// alert('Hello world!');
{"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