Create a gist now

Instantly share code, notes, and snippets.

The Famigo logo in HTML and CSS.
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<style>
.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);
}
</style>
<title>Famigo</title>
</head>
<body>
<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>
</h1>
</body>
</html>
@JensVerneuer

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