-
-
Save h4/4589153 to your computer and use it in GitHub Desktop.
Untitled
This file contains 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:before { | |
content: ""; | |
position: absolute; | |
top: 11px; | |
right: -18px; | |
height: 37px; | |
width: 38px; | |
background: #FFF; | |
transform: rotate(45deg); | |
} | |
.tail { | |
top: 10px; | |
right: -15px; | |
position: absolute; | |
height: 30px; | |
width: 30px; | |
clip: rect(-10px, 50px, 50px, 20px); | |
} | |
.tail:before { | |
content: ""; | |
position: absolute; | |
height: 30px; | |
width: 30px; | |
background-clip: padding-box; | |
border: solid 5px rgba(0,0,0,0.6); | |
transform: rotate(45deg); | |
} |
This file contains 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 class="tail"></div> | |
контент | |
</div> |
This file contains 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 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