Skip to content

Instantly share code, notes, and snippets.

@Leolik
Created January 21, 2013 20:44
Show Gist options
  • Save Leolik/4589181 to your computer and use it in GitHub Desktop.
Save Leolik/4589181 to your computer and use it in GitHub Desktop.
Untitled
body {
background: pink
}
.popup {
position: relative;
width: 200px;
height: 150px;
padding: 10px;
background: #fff;
background-clip: padding-box;
border: 5px solid rgba(0,0,0,0.6);
}
.popup:after,
.popup:before {
content: "";
display:block;
position: absolute;
right: -22px;
top: 11px;
width: 0;
height: 0;
border-style: solid;
border-width: 17px 0 17px 17px;
border-color: transparent transparent transparent rgba(0,0,0,0.6);
}
.popup:after {
top: 13px;
right: -15px;
border-left-color: #fff;
border-width: 15px 0 15px 15px
}
<div class="popup">
контент
</div>
// alert('Hello world!');
{"view":"separate","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment