Created
March 22, 2012 19:30
-
-
Save pgherveou/2162461 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
.trash { | |
-webkit-appearance: none; | |
background: none; | |
border: none; | |
cursor: pointer; | |
display: inline-block; | |
outline: none; | |
padding: 0; | |
position: relative; | |
width: 30px; | |
} | |
.trash > span { | |
display: inline-block; | |
} | |
.trash > .can, | |
.trash > .lid { | |
background: url('chrome://resources/images/trash.png') 0 0 no-repeat; | |
left: 8px; | |
position: absolute; | |
right: 8px; | |
top: 2px; | |
} | |
.trash > .lid { | |
-webkit-transition: -webkit-transform 150ms; | |
-webkit-transform-origin: -7% 100%; | |
height: 6px; | |
width: 14px; | |
} |
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
<button class="trash custom-appearance" title="Remove from Chrome"> | |
<span class="lid"></span> | |
<span class="can"></span> | |
</button> | |
<!-- content to be placed inside <body>…</body> --> |
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":"split","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment