Animated CSS3 button ucoz - UcozBaze All Scripts And Templates
  
Page 1 of 11
UcozBaze All Scripts And Templates » Scripts and Coding » Other » Animated CSS3 button ucoz (Animated CSS3 button ucoz)
Animated CSS3 button ucoz
GoblinaSDate: Sunday, 2011-09-11, 9:52 PM | Message # 1
Group: S-Moderator
Messages: 374
3


HTML:
Code

<a href="#" class="btn"><span>Press this!</span></a>


CSS:
Code

.btn {
         display: inline-block;
         -webkit-border-radius: 8px;
         -moz-border-radius: 8px;
         border-radius: 8px;
         -webkit-box-shadow:
           0 8px 0 #1a74a1,
           0 15px 20px rgba(0,0,0,.35);
         -moz-box-shadow:
           0 8px 0 #1a74a1,
           0 15px 20px rgba(0,0,0,.35);
         box-shadow:
           0 8px 0 #1a74a1,
           0 15px 20px rgba(0,0,0,.35);
         -webkit-transition: -webkit-box-shadow .2s ease-in-out;
         -moz-transition: -moz-box-shadow .2s ease-in-out;
         -o-transition: -o-box-shadow .2s ease-in-out;
         transition: box-shadow .2s ease-in-out;
}

.btn span {
         display: inline-block;
         padding: 10px  20px;
         font-family: "cooper-black-std-1", "cooper-black-std-2", Helvetica, Arial, sans-serif;
         line-height: 1;
         text-shadow: 0 -1px 1px rgba(19,65,88,.8);
         background: #3194c6;
         background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#3194c6), to(#5bacd6));
         background: -moz-linear-gradient(#3194c6, #5bacd6);
         -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);
         -webkit-transition: -webkit-transform .2s ease-in-out;
         -moz-transition: -moz-transform .2s ease-in-out;
         -o-transition: -o-transform .2s ease-in-out;
         transition: transform .2s ease-in-out;
}
.btn:active {
      -webkit-box-shadow:
        0 8px 0 #1a74a1,
        0 12px 10px rgba(0,0,0,.3);
      -moz-box-shadow:
        0 8px 0 #1a74a1,
        0 12px 10px rgba(0,0,0,.3);
      box-shadow:
        0 8px 0 #1a74a1,
        0 12px 10px rgba(0,0,0,.3);
}

.btn:active span {
      -webkit-transform: translate(0, 4px);
      -moz-transform: translate(0, 4px);
      -o-transform: translate(0, 4px);
      transform: translate(0, 4px);
}


 
Message


HTML:
Code

<a href="#" class="btn"><span>Press this!</span></a>


CSS:
Code

.btn {
         display: inline-block;
         -webkit-border-radius: 8px;
         -moz-border-radius: 8px;
         border-radius: 8px;
         -webkit-box-shadow:
           0 8px 0 #1a74a1,
           0 15px 20px rgba(0,0,0,.35);
         -moz-box-shadow:
           0 8px 0 #1a74a1,
           0 15px 20px rgba(0,0,0,.35);
         box-shadow:
           0 8px 0 #1a74a1,
           0 15px 20px rgba(0,0,0,.35);
         -webkit-transition: -webkit-box-shadow .2s ease-in-out;
         -moz-transition: -moz-box-shadow .2s ease-in-out;
         -o-transition: -o-box-shadow .2s ease-in-out;
         transition: box-shadow .2s ease-in-out;
}

.btn span {
         display: inline-block;
         padding: 10px  20px;
         font-family: "cooper-black-std-1", "cooper-black-std-2", Helvetica, Arial, sans-serif;
         line-height: 1;
         text-shadow: 0 -1px 1px rgba(19,65,88,.8);
         background: #3194c6;
         background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#3194c6), to(#5bacd6));
         background: -moz-linear-gradient(#3194c6, #5bacd6);
         -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);
         -webkit-transition: -webkit-transform .2s ease-in-out;
         -moz-transition: -moz-transform .2s ease-in-out;
         -o-transition: -o-transform .2s ease-in-out;
         transition: transform .2s ease-in-out;
}
.btn:active {
      -webkit-box-shadow:
        0 8px 0 #1a74a1,
        0 12px 10px rgba(0,0,0,.3);
      -moz-box-shadow:
        0 8px 0 #1a74a1,
        0 12px 10px rgba(0,0,0,.3);
      box-shadow:
        0 8px 0 #1a74a1,
        0 12px 10px rgba(0,0,0,.3);
}

.btn:active span {
      -webkit-transform: translate(0, 4px);
      -moz-transform: translate(0, 4px);
      -o-transform: translate(0, 4px);
      transform: translate(0, 4px);
}

Author - GoblinaS
Date Added - 2011-09-11 в 9:52 PM
UcozBaze All Scripts And Templates » Scripts and Coding » Other » Animated CSS3 button ucoz (Animated CSS3 button ucoz)
Page 1 of 11
Search:
                                                               
Statistics Forum
New Posts Popular topic Top Forum Users New User

type list Auto Youtube Trailers for Ucoz Movies Web (0)
type list Automatically add tags for all uCoz modules (5)
type list Pranešimai skrti jums yra matomi Tag Board Ucoz skriptas (1)
type list Why can’t I copy large files over 4GB to my USB flash drive (0)
type list Forumo Informatorius (2)
type list Pereiti i kita puslapi forume 1.2.3. Ucoz skriptas (1)
type list The script for the output of a random video from Youtube (0)
type list The script updates the block comment without refreshing the (0)
type list Information about your browser for uCoz (0)
type list Kaip isideti Forum Online/Offline Image Ucoz ? (4)

type list Skaiciuojam nuo 1 iki 1000 ! (557)
type list Forum SignatureBar (60)
type list Avatars (22)
type list Juokingos Fotkes :) (19)
type list Kaip pakeisti paveiksla mazas? (19)
type list Mini-Chatas islendantis is sono ucoz (15)
type list Mp3-Tau.do.am (13)
type list Шаблон форума для ucoz For-css (12)
type list Ucoz script - favicon (11)
type list Button scrolling up ucoz (10)

interout
GoblinaS
Adi
Esquire
BAtman
WaSHkaZ
Skacikas
meskis
Gytenas
vicka

kukoolcrivat3811
shivamjoshi3696
DiFm
saveta75
Nenad
firdaus085
miljanliverpool
llfc20
designcobras
AnelsoNN


Site design by uCozBaze
uCozBaze © 2011-2016