Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save richardadalton/5b138c9fb55879b12e3946f1ef3639b8 to your computer and use it in GitHub Desktop.
Save richardadalton/5b138c9fb55879b12e3946f1ef3639b8 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<head>
<title>Gastra Super Menu</title>
<style>
p {
font-family: "Lucinda Grande", "Lucinda Sans Unicode", Helvetica, Arial, Verdana, sans-serif;
}
.veg:before {
content: url(img/veggie.png) " "; /*whitespace added to distance icon from text*/
}
.meat:before {
content: url(img/meat.png) " ";
}
.main:after {
content: " " url(img/main.png);
}
</style>
</head>
<body>
<p class="veg">Rocket Drizzle Salad</p> <!--added veg classes-->
<p class="veg">All about the Beets</p>
<p class="veg">Great bowl of Broccoli</p>
<p class="veg main"> Lentil Masala with Spinach</p><!--added veg and meat classes-->
<p class="meat main">Peri Peri double Chicken</p> <!--added main and meat classes-->
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment