Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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 {
color: green;
}
.famigo-logo-a {
color: orange;
}
.famigo-logo-m {
color: red;
}
.famigo-logo-i {
color: purple;
}
.famigo-logo-g {
color: yellow;
}
.famigo-logo-o {
color: blue;
}
</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>

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