Instantly share code, notes, and snippets.

What would you like to do?
The Famigo logo in HTML and CSS.
<!doctype html>
<meta charset="utf-8">
.famigo-logo {
font-family: Georgia, serif;
font-weight: bold;
.famigo-logo-f, .famigo-logo-a, .famigo-logo-m,
.famigo-logo-i, .famigo-logo-g, .famigo-logo-o {
display: inline-block;
letter-spacing: 0;
vertical-align: 0;
.famigo-logo-f {
color: #8dc63f;
letter-spacing: -0.075em;
-webkit-transform: rotate(-9deg);
.famigo-logo-a {
color: #f4911e;
letter-spacing: -0.05em;
vertical-align: 0.05em;
-webkit-transform: rotate(5deg);
.famigo-logo-m {
color: #ee3124;
vertical-align: 0.05em;
-webkit-transform: rotate(-4deg);
.famigo-logo-i {
color: #b0006e;
letter-spacing: -0.075em;
vertical-align: 0.15em;
-webkit-transform: rotate(7deg);
.famigo-logo-g {
color: #deb406;
-webkit-transform: rotate(-10deg);
.famigo-logo-o {
color: #1ab7ea;
vertical-align: 0.075em;
-webkit-transform: rotate(9deg);
<h1 class="famigo-logo">
<span class="famigo-logo-f">F</span><!--
--><span class="famigo-logo-a">a</span><!--
--><span class="famigo-logo-m">m</span><!--
--><span class="famigo-logo-i">i</span><!--
--><span class="famigo-logo-g">g</span><!--
--><span class="famigo-logo-o">o</span>

This comment has been minimized.

Copy link

JensVerneuer commented Aug 7, 2013

nice work!
But what if you use :before and :after? the html footprint would be less.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment