/ Published in: CSS
Tested in Webkit Browsers. Use the style for a link. You can try different styles: Snow Bar and Snow Ball.
Expand |
Embed | Plain Text
HTML <a class="snow">Snow Bar!</a> <a class="snow ball">OK!</a> CSS a.snow { background: #fffafa; background: -webkit-gradient( linear, right bottom, right top, color-stop(0, #f0faff), color-stop(.25, #fffafa)); background: -moz-linear-gradient(center bottom, #f0faff 0%, #fffafa 25%); color: #3296ff; cursor: pointer; display: inline-block; font-size: 1.2em; font-weight: bold; padding: 3px 5px; position: relative; text-align: center; text-decoration: none; border: 2px solid #f0faff; border-radius: 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px; box-shadow: 0 1px 1px #0096ff; -webkit-box-shadow: 0 1px 1px #0096ff; -moz-box-shadow: 0 1px 1px #0096ff; } a.snow:hover { background: #fff; } a.snow.ball { font-size: 1.5em; height: 50px; width: 50px; line-height: 50px; padding: 5px 5px; text-align: center; border-radius: 50px; -webkit-border-radius: 50px; -moz-border-radius: 50px; } a.snow:active { position: relative; top: 1px; }
You need to login to post a comment.
