Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Look, we're using Haml!</title>
</head>
<body></body>
</html>
!!!
%html
%head
%title Look, we're using Haml!
%body
#footer
:width 850px
:padding 5px
:margin-bottom 10px
:font-weight 900
:font-size 1.2em
a
:text-decoration none
img
:padding 10px
=plain_a(!color = black)
color= !color
text-decoration: none
#header
+plain_a
#content
+plain_a(green)
#footer
+plain_a
=plain_a
color: black
text-decoration: none
#header
+plain_a
#footer
+plain_a
#header a{text-decoration: none; color: black;}
#footer a{text-decoration: none; color: black;}
#footer
width: 850px
padding: 5px
margin-bottom: 10px
font
weight: 900
size: 1.2em
a
text-decoration: none
img
#footer
width: 850px
padding: 5px
margin-bottom: 10px
font-weight: 900
font-size: 1.2em
a
text-decoration: none
img
padding: 10px
#footer {width: 850px; padding: 5px; margin-bottom: 10px; font-weight: 900; font-size: 1.2em;}
#footer img {padding: 10px; float: right;}
#footer a {text-decoration: none;}
>> #398191 - #111
#287080