Skip to content

Instantly share code, notes, and snippets.

Created February 14, 2015 14:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/4b576d25a058cc41b02b to your computer and use it in GitHub Desktop.
Save anonymous/4b576d25a058cc41b02b to your computer and use it in GitHub Desktop.
Untitled
body {
padding:10px 10px 100px;
}
<div style="
position:relative;
width:500px;
height:200px;
border:1px solid #aaa;
border-radius:3px;
background:url(http://cdn.designbeep.com/wp-content/uploads/2012/05/2.photoshop-stripe-patterns.jpg) 0 0;
">
<i style="
position: absolute;
width:20px;
height:20px;
bottom: -21px;
margin-left:-20px;
left:50%;
border-left: 1px solid #aaa;
border-bottom: 1px solid #aaa;
overflow:hidden;
transform:rotate(-45deg);
transform-origin:0 0;
">
<i style="
display:block;
width:30px;
height:30px;
background:url(http://cdn.designbeep.com/wp-content/uploads/2012/05/2.photoshop-stripe-patterns.jpg) no-repeat -230px -200px;
transform:rotate(45deg);
transform-origin:0 0;
"></i>
</i>
</div>
// alert('Hello world!');
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"html"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment