Skip to content

Instantly share code, notes, and snippets.

@sa1f
Last active December 18, 2015 07:09
Show Gist options
  • Save sa1f/5744707 to your computer and use it in GitHub Desktop.
Save sa1f/5744707 to your computer and use it in GitHub Desktop.
Mr. Singh
body {
background: darkslategrey url('http://subtlepatterns.com/patterns/concrete_wall.png');
color: Gainsboro;
text-align: center;
margin-top: 12em;
}
h1 {
font: Bold 8em monospace;
text-transform: uppercase;
text-shadow: 0px 1px 5px black;
}
p {
font: italic 2em serif;
text-shadow: 0px 0px 2px black;
}
<html>
<head>
<title>Mr. Singh...</title>
</head>
<body>
<h1>Hello Mr. Singh</h1>
<p>You are the best teacher ever!</p>
<img src='http://imgur.com/wUKXBPf'></img>
</body>
<style>
body {
background: darkslategrey url('http://subtlepatterns.com/patterns/concrete_wall.png');
color: Gainsboro;
text-align: center;
margin-top: 12em;
}
h1 {
font: Bold 8em monospace;
text-transform: uppercase;
text-shadow: 0px 1px 5px black;
}
p {
font: italic 2em serif;
text-shadow: 0px 0px 2px black;
}
img {
border: solid 4px grey;
}
</style>
</html>
document.getElementsByTagName('h1').onclick = function() { alert('hello');}
{"view":"separate","fontsize":"100","seethrough":"1","prefixfree":"1","page":"html"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment