Created
June 9, 2013 17:24
-
-
Save TimPietrusky/5744397 to your computer and use it in GitHub Desktop.
A CodePen by Tim Pietrusky. tlk.io's "remove all my messages" button - You want to delete all your [tlk.io](http://tlk.io) messages? This will do it just right!
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="danger">Remove all my<br>messages</button> |
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
/** | |
tlk.io's "remove all my messages" button | |
You want to delete all your tlk.io messages? | |
This will do it just right! | |
# 2013 by Tim Pietrusky | |
# timpietrusky.com | |
**/ |
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
@import "compass"; | |
body { | |
text-align:center; | |
margin:2.5em 0; | |
background: #edece9; | |
} | |
.danger { | |
font:1.75em "Open Sans","Lucida Sans Unicode","Lucida Grande",Helvetica,sans-serif; | |
color: #ffd6d6; | |
text-shadow: 0 .055em 0 rgba(0,0,0, .2); | |
cursor:pointer; | |
padding: .45em; | |
border: .045em solid rgba(179,0,0, .2); | |
border-radius:.35em; | |
box-shadow: | |
inset 0 .015em 0 rgba(255,255,255, .2), | |
0 .015em .015em rgba(255,255,255, .4), | |
0 0 0 .5em whitesmoke | |
; | |
background-color: red; | |
@include background( | |
linear-gradient(top, rgba(235,71,71, .5), rgba(165,18,18, .5)), | |
red | |
); | |
@include transition( | |
background-color .1s ease-out | |
); | |
&:hover { | |
background-color: #f33; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment