Created
January 21, 2013 20:44
-
-
Save Leolik/4589181 to your computer and use it in GitHub Desktop.
Untitled
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="popup"> | |
контент | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// alert('Hello world!'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"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