Skip to content

Instantly share code, notes, and snippets.

@aurelkurtula
Created February 8, 2013 04:39
Show Gist options
  • Save aurelkurtula/4736629 to your computer and use it in GitHub Desktop.
Save aurelkurtula/4736629 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: #ccc;
}
p{
background: black;
color: white;
font-weight: bolder;
display:block;
float: left;
padding: 10px;
border-radius: 10px;
background: linear-gradient(black, gray);
position: relative
}
p:after{
content: ' ';
display: block;
width: 0px;
height: 0px;
position: absolute;
border-top: 15px solid gray;
border-bottom: 15px solid transparent;
border-right:15px solid transparent;
border-left:15px solid transparent;
margin: 10px 0 0 50px;
}
<!-- content to be placed inside <body>…</body> -->
<p>this is a test of dabblet</p>
// alert('Hello world!');
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment