Created
January 21, 2013 22:07
-
-
Save kizu/4589950 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; | |
box-shadow: 0 0 0 5px rgba(0,0,0,0.6); | |
} | |
.popup:before, | |
.popup:after { | |
content: ""; | |
position: absolute; | |
left: 100%; | |
top: 15px; | |
width: 24px; | |
height: 24px; | |
margin: 0 0 0 -13px; | |
background: linear-gradient(45deg,transparent 50%,white 50%); | |
transform: rotate(45deg) translate(0.5px); | |
} | |
.popup:before { | |
margin: 0 0 0 -7px; | |
background: linear-gradient(45deg,transparent 50%,rgba(0,0,0,0.6) 50%); | |
} | |
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":"split-vertical","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