A Very Large Button- Survey Earth in a Day 3D
Created
June 21, 2014 03:56
-
-
Save landsurveyorsunited/d1fea2bfeff5d6e0b857 to your computer and use it in GitHub Desktop.
A Pen by JFarrow.
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
<link href='http://fonts.googleapis.com/css?family=Francois+One' rel='stylesheet' type='text/css'> | |
<a href="javascript:void( window.open('http://form.jotformpro.com/form/21505486452958', 'blank','scrollbars=yes,toolbar=no,width=900,height=800'))" class="button"> | |
<span>Log Your Point!</span> | |
</a> |
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 { | |
text-align: center; | |
} | |
.button { | |
display: inline-block; | |
margin: 10px; | |
-webkit-border-radius: 8px; | |
-moz-border-radius: 8px; | |
border-radius: 8px; | |
-webkit-box-shadow: 0 8px 0 #a12712, 0 15px 20px rgba(0, 0, 0, .35); | |
-moz-box-shadow: 0 8px 0 #a12712, 0 15px 20px rgba(0, 0, 0, .35); | |
box-shadow: 0 8px 0 #a12712, 0 15px 20px rgba(0, 0, 0, .35); | |
-webkit-transition: -webkit-box-shadow .1s ease-in-out; | |
-moz-transition: -moz-box-shadow .1s ease-in-out; | |
-o-transition: -o-box-shadow .1s ease-in-out; | |
transition: box-shadow .1s ease-in-out; | |
font-size: 50px; | |
color: #fff; | |
} | |
.button span { | |
display: inline-block; | |
padding: 20px 30px; | |
background-color: #e74c3c; | |
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(hsla(338, 90%, 80%, .8)), to(hsla(338, 90%, 70%, .2))); | |
background-image: -webkit-linear-gradient(hsla(338, 90%, 80%, .8), hsla(338, 90%, 70%, .2)); | |
background-image: -moz-linear-gradient(hsla(338, 90%, 80%, .8), hsla(338, 90%, 70%, .2)); | |
background-image: -o-linear-gradient(hsla(338, 90%, 80%, .8), hsla(338, 90%, 70%, .2)); | |
-webkit-border-radius: 8px; | |
-moz-border-radius: 8px; | |
border-radius: 8px; | |
-webkit-box-shadow: inset 0 -1px 1px rgba(255, 255, 255, .15); | |
-moz-box-shadow: inset 0 -1px 1px rgba(255, 255, 255, .15); | |
box-shadow: inset 0 -1px 1px rgba(255, 255, 255, .15); | |
font-family: 'Francois One', Arial, sans-serif; | |
line-height: 1; | |
text-shadow: 0 -1px 1px rgba(175, 49, 95, .7); | |
-webkit-transition: background-color .2s ease-in-out, -webkit-transform .1s ease-in-out; | |
-moz-transition: background-color .2s ease-in-out, -moz-transform .1s ease-in-out; | |
-o-transition: background-color .2s ease-in-out, -o-transform .1s ease-in-out; | |
transition: background-color .2s ease-in-out, transform .1s ease-in-out; | |
} | |
.button:hover span { | |
background-color: #1b1b1b; | |
text-shadow: 0 -1px 1px rgba(175, 49, 95, .9), 0 0 5px rgba(255, 255, 255, .8); | |
} | |
.button:active, .button:focus { | |
-webkit-box-shadow: 0 8px 0 #e74c3c, 0 12px 10px rgba(0, 0, 0, .3); | |
-moz-box-shadow: 0 8px 0 #e74c3c, 0 12px 10px rgba(0, 0, 0, .3); | |
box-shadow: 0 8px 0 #e74c3c, 0 12px 10px rgba(0, 0, 0, .3); | |
} | |
.button:active span { | |
-webkit-transform: translate(0, 4px); | |
-moz-transform: translate(0, 4px); | |
-o-transform: translate(0, 4px); | |
transform: translate(0, 4px); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment