Basic Example
Take a look at the example page and View > Source while youβre there.
If youβre on mobile, you can see examples here:
Here is the CSS I am specifying:
/* Start with some normal styles to set the page */
body {
font: 700 28px "Lato";
color: #444;
text-align: center;
}
h1, h2 {
font-size: 1.5em;
}
li {
padding: 1.25em;
margin: 1em;
}
/* Using emojis for Class and ID names */
#π΄ {
width: 75%;
margin: .25em auto;
max-width: 800px;
}
#π {
list-style: none;
padding: 0;
}
.π { color: #ff4d4d; }
.π { background: #ffff99; }
.π { border: 1em solid #ffb366; }
.π {
font: 300 italic .85em "Lato";
margin-top: 0;
padding:0;
}
/* Other unicode characters can also be used */
#β€ {
border-top: 1px solid silver;
margin-top: 5em;
}
.β¦Ώ {
font-size: 14px;
text-decoration: none;
color: #4da6ff;
}
.β¦Ώ:hover {
text-decoration: underline;
color: #007fff;
}
The HTML uses the classes and IDs as you would expect:
<div id="π΄">
<ul id="π">
<li class="π">Strawberry</li>
<li class="π">Banana</li>
<li class="π">Orange</li>
<li class="π π π">Fruit Salad</li>
</ul>
</div><!-- END #π΄ -->
<footer id="β€">
<p><a href="/" class="β¦Ώ">Alistair Calder</a></p>
</footer>