Skip to content

Instantly share code, notes, and snippets.

@slant
Last active January 2, 2016 10:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save slant/8288632 to your computer and use it in GitHub Desktop.
Save slant/8288632 to your computer and use it in GitHub Desktop.
<!doctype html>
<html>
<head>
<style type="text/css">
body, html {
font-family: helvetica;
}
p:before {
border-bottom: 1px solid gray;
color: gray;
content: "test before";
display: block;
font-size: 10px;
margin-bottom: 6px;
padding-bottom: 4px;
}
p:after {
border-top: 1px solid gray;
color: gray;
color: gray;
content: "test after";
display: block;
font-size: 10px;
margin-top: 6px;
padding-top: 4px;
}
</style>
<script>
</script>
</head>
<body>
<p>Test</p>
<p>Another test</p>
<p></p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment