Skip to content

Instantly share code, notes, and snippets.

@anselmh
Created February 7, 2012 11:54
Show Gist options
  • Select an option

  • Save anselmh/1759341 to your computer and use it in GitHub Desktop.

Select an option

Save anselmh/1759341 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
body{
background: #fff;
min-height:100%;
}
p{
position: relative;
background: #000000;
padding: 2px;
color: #fff;
display: inline;
line-height: 1.6;
}
<!-- content to be placed inside <body>…</body> -->
<h1>This is a headline</h1>
<p>This is my paragraph with <br />
more than one line of text which should have a background-color, too.</p>
{"view":"split-vertical","prefixfree":"1","page":"css"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment