按钮hover
...大约 32 分钟
按钮hover
重要
HTML
//最好用npm引入
<link rel="stylesheet" type="text/css" href="css/normalize.css" />
<link href="css/font-awesome.min.css" rel="stylesheet">
//公共样式
<style type="text/css">
body{margin:0;padding:0;}
.post-header{max-width:100%;padding:15px 0;background:#fff;border-bottom:4px solid #38A8EB;clear:both;}
.post-header .inner-header{max-width:1024px;margin:0 auto;}
.post-header .inner-header a{outline:none;border:none;text-decoration:none;}
.post-header .inner-header img{max-width:150px;}
.post-footer{max-width:100%;padding:15px 0;background:#333;border-top:4px solid #38A8EB;color:#EEE;font-size:14px;text-align:center;clear:both;}
.post-footer a{color:#38A8EB;text-decoration:none;border:none;outline:none;}
</style>
//HTML正文
<section class="buttons">
<h1>Button Hover Effects</h1>
<h4>css3 transition effects on hover and css3 transition effects on click</h4>
<!--Set 1 start-->
<div class="container_odd">
<div class="set_container"> <a href="#" class="set_1_btn Vbtn-1"> <svg>
<rect x="0" y="0" fill="none" width="100%" height="100%"></rect>
</svg> Hover </a>
<!--End of Button 1 -->
<a href="#" class="set_1_btn Vbtn-2">Hover</a>
<!--End of Button 2 -->
<a href="#" class="set_1_btn Vbtn-3"> <svg>
<rect x="0" y="0" fill="none" width="100%" height="100%"></rect>
</svg> Hover </a>
<!--End of Button 3 -->
<a href="#" class="set_1_btn Vbtn-4">Hover</a>
<!--End of Button 4 -->
<div style="clear:both"></div>
</div> </div> <!--Set 1 end-->
<!--Set 2 start--> <div class="container_even">
<div class="set_container">
<div class="set_2_button color1 set_2_btn-1 icon-forward"><span>Sample Button</span></div>
<!--End of Button 1 -->
<div class="set_2_button color2 set_2_btn-1 icon-backward"><span>Sample Button</span></div>
<!--End of Button 2 -->
<div class="set_2_button color3 set_2_btn-2 icon-up"><span>Sample Button</span></div>
<!--End of Button 3 -->
<div class="set_2_button color4 set_2_btn-2 icon-down"><span>Sample Button</span></div>
<!--End of Button 4 -->
<div class="set_2_button color5 set_2_btn-2 icon-down"><span>Sample Button</span></div>
<!--End of Button 5 -->
<div style="clear:both"></div>
</div> </div> <!--Set 2 end-->
<!--Set 3 start--> <div class="container_odd">
<div class="set_container">
<div data-text="Hover" class="set_3_button"><span>Sample Button</span></div>
<!--End of Button 1 -->
<div data-text="Hover" class="set_3_button2"><span>Sample Button</span></div>
<!--End of Button 2 -->
<div data-text="Hover" class="set_3_button3"><span>Sample Button</span></div>
<!--End of Button 3 -->
<div data-text="Hover" class="set_3_button4"><span>Sample Button</span></div>
<!--End of Button 4 -->
<div style="clear:both"></div>
</div> </div> <!--Set 3 end-->
<!--Set 4 start--> <div class="container_even">
<div class="set_container">
<div class="set_4_button1 raised hoverable">
<div class="anim"></div>
<span>Sample Button</span> </div>
<!--End of Button 1 -->
<div class="set_4_button2 raised hoverable">
<div class="anim"></div>
<span>Sample Button</span> </div>
<!--End of Button 2 -->
<div class="set_4_button3 raised hoverable">
<div class="anim"></div>
<span>Sample Button</span> </div>
<!--End of Button 3 -->
<div class="set_4_button4 raised hoverable">
<div class="anim"></div>
<span>Sample Button</span> </div>
<!--End of Button 4 -->
<div style="clear:both"></div>
</div> </div> <!--Set 4 end-->
<!--Set 5 start--> <div class="container_odd">
<div class="set_container">
<div class="set_5_button">Sample Button</div>
<!--End of Button 1 -->
<div class="set_5_button2">Sample Button</div>
<!--End of Button 2 -->
<div class="set_5_button3">Sample Button</div>
<!--End of Button 3 -->
<div class="set_5_button4">Sample Button</div>
<!--End of Button 4 -->
<div style="clear:both"></div>
</div> </div> <!--Set 5 end-->
<!--Set 6 start--> <div class="container_even">
<div class="set_container">
<div class="set_6_btn out grey"> <span>Sample Button</span>
<div class="corners top"></div>
<div class="corners bottom"></div>
</div> <!--End of Button 1 -->
<div class="set_6_btn out yellow"> <span>Sample Button</span>
<div class="corners top"></div>
<div class="corners bottom"></div>
</div> <!--End of Button 2 -->
<div class="set_6_btn in red"> <span>Sample Button</span>
<div class="corners top"></div>
<div class="corners bottom"></div>
</div> <!--End of Button 3 -->
<div class="set_6_btn in blue"> <span>Sample Button</span>
<div class="corners top"></div>
<div class="corners bottom"></div>
</div> <!--End of Button 4 -->
<div style="clear:both"></div>
</div> </div> <!--Set 6 end-->
<!--Set 7 start--> <div class="container_odd">
<div class="set_container">
<div class="set_7_btn-wrapper"> <svg height="45" width="150" xmlns="#">
<rect id="set_7_button1" height="45" width="150"></rect>
</svg> <div id="set_7_text"> <a href="">Sample Button</a> </div>
</div> <!--End of Button 1 -->
<div class="set_7_btn-wrapper"> <svg height="45" width="150" xmlns="#">
<rect id="set_7_button2" height="45" width="150"></rect>
</svg> <div id="set_7_text"> <a href="">Sample Button</a> </div>
</div> <!--End of Button 2 -->
<div class="set_7_btn-wrapper"> <svg height="45" width="150" xmlns="#">
<rect id="set_7_button3" height="45" width="150"></rect>
</svg> <div id="set_7_text"> <a href="">Sample Button</a> </div>
</div> <!--End of Button 3 -->
<div class="set_7_btn-wrapper"> <svg height="45" width="150" xmlns="#">
<rect id="set_7_button4" height="45" width="150"></rect>
</svg> <div id="set_7_text"> <a href="">Sample Button</a> </div>
</div> <!--End of Button 4 -->
<div style="clear:both"></div>
</div> </div> <!--Set 7 end-->
<!--Set 8 start--> <div class="container_even">
<div class="set_container">
<div class="set_8_button outline" href="#">Sample Button<span class="lines"></span></div>
<!--End of Button 1 -->
<div class="set_8_button2 outline" href="#">Sample Button<span class="lines"></span></div>
<!--End of Button 2 -->
<div class="set_8_button3 outline" href="#">Sample Button<span class="lines"></span></div>
<!--End of Button 3 -->
<div class="set_8_button4 outline" href="#">Sample Button<span class="lines"></span></div>
<!--End of Button 4 -->
<div style="clear:both"></div>
</div> </div> <!--Set 8 end-->
<!--Set 9 start--> <div class="container_odd">
<div class="set_container">
<!--<h3>Set 9</h3>-->
<div class="set_9_btn-corner"> <span class="line1"></span> <span class="line2"></span> <span class="line3"></span> <span class="line4"></span> Sample Button </div>
<!--End of Button 1 -->
<div class="set_9_btn2-corner"> <span class="line1"></span> <span class="line2"></span> <span class="line3"></span> <span class="line4"></span> Sample Button </div>
<!--End of Button 2 -->
<div class="set_9_btn3-corner"> <span class="line1"></span> <span class="line2"></span> <span class="line3"></span> <span class="line4"></span> Sample Button </div>
<!--End of Button 3 -->
<div class="set_9_btn4-corner"> <span class="line1"></span> <span class="line2"></span> <span class="line3"></span> <span class="line4"></span> Sample Button </div>
<!--End of Button 4 -->
<div style="clear:both"></div>
</div> </div> <!--Set 9 end-->
<!--Set 10 start--> <div class="container_even">
<div class="set_container">
<div class="set_10_button btn1">
<div class="icon">★</div>
<span>Hover over me</span> </div>
<!--End of Button 1 -->
<div class="set_10_button2 btn2">
<div class="icon">★</div>
<span>Hover over me</span> </div>
<!--End of Button 2 -->
<div class="set_10_button3 btn3">
<div class="icon">★</div>
<span>Hover over me</span> </div>
<!--End of Button 3 -->
<div class="set_10_button4 btn4">
<div class="icon">★</div>
<span>Hover over me</span> </div>
<!--End of Button 4 -->
<div style="clear:both"></div>
</div> </div> <!--Set 10 end-->
<!--Set 11 start--> <div class="container_odd">
<div class="set_container">
<div class="set_11_buttons animated"> <a href="#" class="facebook"><i class="fa fa-facebook"></i></a>
<!--End of Button 1 -->
<a href="#" class="twitter"><i class="fa fa-twitter"></i></a>
<!--End of Button 2 -->
<a href="#" class="google-plus"><i class="fa fa-google-plus"></i></a>
<!--End of Button 3 -->
<a href="#" class="github"><i class="fa fa-github"></i></a>
<!--End of Button 4 -->
<a href="#" class="email"><i class="fa fa-envelope"></i></a>
<!--End of Button 5 -->
</div>
<div style="clear:both"></div>
</div> </div> <!--Set 11 end-->
<!--Set 12 start--> <div class="container_even">
<div class="set_container">
<div class="set_12_icon-button twitter"><i class="fa fa-twitter"></i><span></span></div>
<!--End of Button 1 -->
<div class="set_12_icon-button facebook"><i class="fa fa-facebook"></i><span></span></div>
<!--End of Button 2 -->
<div href="#" class="set_12_icon-button google-plus"><i class="fa fa-google-plus"></i><span></span></div>
<!--End of Button 3 -->
<div href="#" class="set_12_icon-button linkedin"><i class="fa fa-linkedin"></i><span></span></div>
<!--End of Button 4 -->
<div href="#" class="set_12_icon-button pinterest"><i class="fa fa-pinterest-p"></i><span></span></div>
<!--End of Button 5 -->
<div style="clear:both"></div>
</div> </div> <!--Set 12 end-->
<!--Set 13 start--> <div class="container_odd">
<div class="set_container">
<div class="viavi_share">
<div class="Vbtn Vfacebook Vslide_x">
<div class="Vicon"><i class="fa fa-facebook"></i></div>
<div class="Vslide"> <span> facebook </span> </div>
<div class="viavi_bg_button">
<div> facebook </div>
</div> </div> <!--End of Button 1 -->
<div class="Vbtn Vtwitter Vslide_y">
<div class="Vicon"><i class="fa fa-twitter"></i></div>
<div class="Vslide"> <span> twitter </span> </div>
<div class="viavi_bg_button">
<div>twitter </div>
</div> </div> <!--End of Button 2 -->
<div class="Vbtn Vyoutube Vslide_nx">
<div class="Vicon"><i class="fa fa-youtube"></i></div>
<div class="Vslide"> <span> youtube </span> </div>
<div class="viavi_bg_button">
<div>youtube</div>
</div> </div> <!--End of Button 3 -->
<div class="Vbtn Vgplus Vslide_ny">
<div class="Vicon"><i class="fa fa-google-plus"></i></div>
<div class="Vslide"> <span> google </span> </div>
<div class="viavi_bg_button">
<div>google</div>
</div> </div> <!--End of Button 4 -->
<div class="Vbtn Vlinkedin Vslide_y">
<div class="Vicon"><i class="fa fa-linkedin"></i></div>
<div class="Vslide"> <span> linkedin </span> </div>
<div class="viavi_bg_button">
<div>linkedin</div>
</div> </div> <!--End of Button 5 -->
<div class="Vbtn Vtumblr Vslide_nx">
<div class="Vicon"><i class="fa fa-tumblr"></i></div>
<div class="Vslide"> <span> tumblr </span> </div>
<div class="viavi_bg_button">
<div>tumblr</div>
</div> </div> <!--End of Button 6 -->
<div class="Vbtn Vgithub Vslide_ny">
<div class="Vicon"><i class="fa fa-github"></i></div>
<div class="Vslide"> <span> github </span> </div>
<div class="viavi_bg_button">
<div>github</div>
</div> </div> <!--End of Button 7 -->
<div class="Vbtn Vpinterest Vslide_x">
<div class="Vicon"><i class="fa fa-pinterest-p"></i></div>
<div class="Vslide"> <span> pinterest </span> </div>
<div class="viavi_bg_button">
<div>pinterest</div>
</div> </div> <!--End of Button 8 -->
</div>
<div style="clear:both"></div>
</div> </div> <!--Set 13 end-->
<!--Set 14 start--> <div class="container_even">
<div class="set_container">
<div class="set_14_viavi-buttons">
<div class="Vfb" data-share="5"> <i class="fa fa-facebook"></i> </div>
<!--End of Button 1 -->
<div class="Vtw" data-share="10"> <i class="fa fa-twitter"></i> </div>
<!--End of Button 2 -->
<div class="Vin" data-share="3"> <i class="fa fa-linkedin"></i> </div>
<!--End of Button 3 -->
<div class="Vdb" data-share="22"> <i class="fa fa-dribbble"></i> </div>
<!--End of Button 4 -->
</div>
<div style="clear:both"></div>
</div> </div> <!--Set 14 end-->
<!--Set 15 start--> <div class="container_odd">
<div class="set_container">
<div class="set_15_social-buttons">
<div class="set_15_social-button Vfacebook"><i class="fa fa-facebook"></i></div>
<!--End of Button 1 -->
<div href="#" class="set_15_social-button Vtwitter"><i class="fa fa-twitter"></i></div>
<!--End of Button 2 -->
<div class="set_15_social-button Vgoogle"><i class="fa fa-google"></i></div>
<!--End of Button 3 -->
<div class="set_15_social-button Vdribbble"><i class="fa fa-dribbble"></i></div>
<!--End of Button 4 -->
<div class="set_15_social-button Vskype"><i class="fa fa-skype"></i></div>
<!--End of Button 5 -->
</div>
<div style="clear:both"></div>
</div> </div> <!--Set 15 end--> </section>
general.css
@import url(http://fonts.googleapis.com/css?family=Roboto:400,100,900);
body {
background: #fff;
font-family: 'Roboto', sans-serif;
font-weight: 400;
}
.buttons {
width: 100%;
float: left;
}
.container_odd {
width: 100%;
padding:50px 0;
float: left;
background:#f1f1f1;
}
.container_even {
width: 100%;
float: left;
padding:50px 0;
background:#fff;
}
h1 {
color: #333;
font-size: 2.5em;
font-weight: 400;
margin: 30px 0 10px 0;
text-align:center;
}
h3 {
color: #333;
font-size: 1.5em;
font-weight: 400;
margin: 1.50em 0 1em 0;
text-align: left;
border-bottom: 1px solid rgba(255,255,255, 0.1);
padding-bottom: 20px;
}
h4 {
color: #666;
font-size: 1.5em;
font-weight: 100;
margin:0px 0 40px 0;
text-align:center;
}
.set_container {
width: 1000px;
margin: auto;
padding-bottom:0px;
clear: both;
}
set_1.css
.set_1_btn {
color: #333;
cursor: pointer;
display: block;
font-size: 16px;
font-weight: 400;
line-height: 45px;
margin-right: 2em;
text-align: center;
max-width: 160px;
position: relative;
text-decoration: none;
text-transform: uppercase;
vertical-align: middle;
width: 100%;
}
.set_1_btn:hover {
text-decoration: none;
}
.Vbtn-1 {
background:transparent;
text-align: center;
float:left;
}
.Vbtn-1 svg {
height: 45px;
left: 0;
position: absolute;
top: 0;
width: 100%;
}
.Vbtn-1 rect {
fill: none;
stroke: #e1b700;
stroke-width: 3;
stroke-dasharray: 422, 0;
transition: all 450ms linear 0s;
}
.Vbtn-1:hover {
background: rgba(225, 51, 45, 0);
font-weight: 900;
letter-spacing: 1px;
transition: all 150ms linear 0s;
}
.Vbtn-1:hover rect {
stroke-width: 5;
stroke-dasharray: 15, 310;
stroke-dashoffset: 48;
-webkit-transition: all 1.35s cubic-bezier(0.19, 1, 0.22, 1);
transition: all 1.35s cubic-bezier(0.19, 1, 0.22, 1);
}
.Vbtn-2 {
letter-spacing: 0;
transition: all 150ms linear 0s;
float:left;
}
.Vbtn-2:hover, .Vbtn-2:active {
letter-spacing: 5px;
transition: all 150ms linear 0s;
}
.Vbtn-2:after, .Vbtn-2:before {
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
border: 1px solid rgba(255, 255, 255, 0);
bottom: 0px;
content: " ";
display: block;
margin: 0 auto;
position: relative;
-webkit-transition: all 280ms ease-in-out;
transition: all 280ms ease-in-out;
width: 0;
}
.Vbtn-2:hover:after, .Vbtn-2:hover:before {
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
border-color: #56c5ff;
-webkit-transition: width 350ms ease-in-out;
transition: width 350ms ease-in-out;
width: 70%;
}
.Vbtn-2:hover:before {
bottom: auto;
top: 0;
width: 70%;
}
.Vbtn-3 {
background:transparent;
text-align: center;
float:left;
}
.Vbtn-3 svg {
height: 45px;
left: 0;
position: absolute;
top: 0;
width: 100%;
}
.Vbtn-3 rect {
fill: none;
stroke: #f2625a;
stroke-width: 3;
stroke-dasharray: 422, 0;
transition: all 450ms linear 0s; }
.Vbtn-3:hover {
background: rgba(225, 51, 45, 0);
font-weight: 900;
letter-spacing: 1px;
transition: all 150ms linear 0s;
}
.Vbtn-3:hover rect {
stroke-width: 5;
stroke-dasharray: 15, 310;
stroke-dashoffset: 48;
-webkit-transition: all 1.35s cubic-bezier(0.19, 1, 0.22, 1);
transition: all 1.35s cubic-bezier(0.19, 1, 0.22, 1);
}
.Vbtn-4 {
letter-spacing: 0;
transition: all 150ms linear 0s;
float:left;
}
.Vbtn-4:hover, .Vbtn-4:active {
letter-spacing: 5px;
transition: all 150ms linear 0s;
}
.Vbtn-4:after, .Vbtn-4:before {
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
border: 1px solid rgba(255, 255, 255, 0);
bottom: 0px;
content: " ";
display: block;
margin: 0 auto;
position: relative;
-webkit-transition: all 280ms ease-in-out;
transition: all 280ms ease-in-out;
width: 0;
}
.Vbtn-4:hover:after, .Vbtn-4:hover:before {
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
border-color: #666;
-webkit-transition: width 350ms ease-in-out;
transition: width 350ms ease-in-out;
width: 70%;
}
.Vbtn-4:hover:before {
bottom: auto;
top: 0;
width: 70%;
}
set_2.css
/* set2 start here */
.set_2_button {
font: inherit;
color: #FFF;
width: auto;
float: left;
padding: 0px 25px;
line-height: 45px;
margin-right: 2.5em;
overflow: hidden;
position: relative;
transition: all 1s;
cursor: pointer;
}
.set_2_button:before {
left: 48%;
}
.set_2_button:active {
background: #cccccc;
color: #000000;
top: 2px;
transition: all 1s;
}
.set_2_button > span {
display: inline-block;
transition: all 0.5s;
}
.icon-forward:before {
content: "→";
position: absolute;
}
.icon-backward:before {
content: "←";
position: absolute;
}
.icon-up:before {
content: "↑";
position: absolute;
}
.icon-down:before {
content: "↓";
position: absolute;
}
.set_2_btn-1:before {
left: -100%;
transition: all 0.5s;
}
.set_2_btn-1:hover:before {
left: 48%;
transition: all 1s;
}
.set_2_btn-1:hover > span {
transform: translateX(300%);
transition: all 1s;
}
.set_2_btn-2:before {
top: -100%;
transition: all 0.5s;
}
.set_2_btn-2:hover:before {
top: 0px;
}
.set_2_btn-2:hover > span {
transform: translateY(300%);
}
.color1{
background:#666666 ;
}
.color2{
background:#f8c013;
color:#2e2302;
}
.color3{
background:#f2625a;
}
.color4{
background:#b9ccd2;
color:#252b2d;
}
.color5{
background:#56c5ff;
color:#fff;
}
/* set 2 end here */
set_3.css
.set_3_button {
color: rgba(255,255,255,1);
-webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
-o-transition: all 0.5s;
transition: all 0.5s;
position: relative;
background:#666666;
overflow: hidden;
width: auto;
padding: 0px 25px;
margin-right: 2.5em;
line-height: 45px;
float: left;
cursor: pointer;
text-align: center;
}
.set_3_button a {
color: rgba(51,51,51,1);
text-decoration: none;
display: block;
}
.set_3_button span {
-webkit-transition: all 0.3s;
-moz-transition: all 0.3s;
-o-transition: all 0.3s;
transition: all 0.3s;
}
.set_3_button:hover {
background-color: rgba(0,0,0,0.3);
}
.set_3_button:hover > span {
opacity: 0;
-webkit-transform: translate(0px, 40px);
transform: translate(0px, 40px);
}
.set_3_button::after {
content: attr(data-text);
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
opacity: 0;
-webkit-transform: translate(-30%, 0);
transform: translate(-30%, 0);
-webkit-transition: all 0.3s;
-moz-transition: all 0.3s;
-o-transition: all 0.3s;
transition: all 0.3s;
}
.set_3_button:hover::after {
opacity: 1;
-webkit-transform: translate(0, 0);
transform: translate(0, 0);
}
/************************************/
.set_3_button2 {
color:#2e2302;
-webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
-o-transition: all 0.5s;
transition: all 0.5s;
position: relative;
background:#e1b700;
overflow: hidden;
width: auto;
padding: 0px 25px;
margin-right: 2.5em;
line-height: 45px;
float: left;
cursor: pointer;
text-align: center;
}
.set_3_button2 a {
color: rgba(51,51,51,1);
text-decoration: none;
display: block;
}
.set_3_button2 span {
-webkit-transition: all 0.3s;
-moz-transition: all 0.3s;
-o-transition: all 0.3s;
transition: all 0.3s;
}
.set_3_button2:hover {
background-color:#ffd311;
}
.set_3_button2:hover > span {
opacity: 0;
-webkit-transform: translate(0px, -40px);
transform: translate(0px, -40px);
}
.set_3_button2::after {
content: attr(data-text);
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
opacity: 0;
-webkit-transform: translate(0, 30%);
transform: translate(0, 30%);
-webkit-transition: all 0.3s;
-moz-transition: all 0.3s;
-o-transition: all 0.3s;
transition: all 0.3s;
}
.set_3_button2:hover::after {
opacity: 1;
-webkit-transform: translate(0, 0);
transform: translate(0, 0);
}
/**********************************/
.set_3_button3 {
color: rgba(255,255,255,1);
-webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
-o-transition: all 0.5s;
transition: all 0.5s;
position: relative;
background:#f2625a;
overflow: hidden;
width: auto;
padding: 0px 25px;
margin-right: 2.5em;
line-height: 45px;
float: left;
cursor: pointer;
text-align: center;
}
.set_3_button3 a {
color: rgba(51,51,51,1);
text-decoration: none;
display: block;
}
.set_3_button3 span {
-webkit-transition: all 0.3s;
-moz-transition: all 0.3s;
-o-transition: all 0.3s;
transition: all 0.3s;
}
.set_3_button3:hover {
background-color:#dd483f;
}
.set_3_button3:hover > span {
opacity: 0;
-webkit-transform: translate(0px, 40px);
transform: translate(0px, 40px);
}
.set_3_button3::after {
content: attr(data-text);
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
opacity: 0;
-webkit-transform: translate(30%, 0);
transform: translate(30%, 0);
-webkit-transition: all 0.3s;
-moz-transition: all 0.3s;
-o-transition: all 0.3s;
transition: all 0.3s;
}
.set_3_button3:hover::after {
opacity: 1;
-webkit-transform: translate(0, 0);
transform: translate(0, 0);
}
/***********************************/
.set_3_button4 {
color:#252b2d;
-webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
-o-transition: all 0.5s;
transition: all 0.5s;
position: relative;
background:#b9ccd2 ;
overflow: hidden;
width: auto;
padding: 0px 25px;
margin-right: 2.5em;
line-height: 45px;
float: left;
cursor: pointer;
text-align: center;
}
.set_3_button4 a {
color:#252b2d;
text-decoration: none;
display: block;
}
.set_3_button4 span {
-webkit-transition: all 0.3s;
-moz-transition: all 0.3s;
-o-transition: all 0.3s;
transition: all 0.3s;
}
.set_3_button4:hover {
background-color: #cce0e7;
}
.set_3_button4:hover > span {
opacity: 0;
-webkit-transform: translate(0px, -40px);
transform: translate(0px, -40px);
}
.set_3_button4::after {
content: attr(data-text);
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
opacity: 0;
-webkit-transform: translate(0, -30%);
transform: translate(0, -30%);
-webkit-transition: all 0.3s;
-moz-transition: all 0.3s;
-o-transition: all 0.3s;
transition: all 0.3s;
}
.set_3_button4:hover::after {
opacity: 1;
-webkit-transform: translate(0, 0);
transform: translate(0, 0);
}
.set_4_button1 {
position: relative;
font-weight: 400;
text-align: center;
width: auto;
float:left;
padding:0 25px;
line-height:45px;
border:1px solid #fff;
overflow: hidden;
position: relative;
z-index: 0;
cursor: pointer;
color:#FFF;
margin-right: 2.5em;
}
.set_4_button1.raised {
-moz-transition: all 0.1s;
-o-transition: all 0.1s;
-webkit-transition: all 0.1s;
transition: all 0.1s;
background: #666666;
}
.set_4_button1.raised:active {
background: #0c7dd8;
box-shadow: 0px 1px 1px #063e6b;
}
.anim {
-moz-transform: translateY(-50%) translateX(-50%);
-ms-transform: translateY(-50%) translateX(-50%);
-webkit-transform: translateY(-50%) translateX(-50%);
transform: translateY(-50%) translateX(-50%);
position: absolute;
top: 50%;
left: 50%;
z-index: -1;
}
.anim:before {
position: relative;
content: '';
display: block;
margin-top: 100%;
}
.anim:after {
content: '';
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
border-radius: 50%;
}
.clickable .toggle:checked + .anim {
-moz-animation: anim-in 0.75s;
-webkit-animation: anim-in 0.75s;
animation: anim-in 0.75s;
}
.clickable .toggle:checked + .anim:after {
-moz-animation: anim-in-pseudo 0.75s;
-webkit-animation: anim-in-pseudo 0.75s;
animation: anim-in-pseudo 0.75s;
}
.clickable .toggle:not(:checked) + .anim {
-moz-animation: anim-out 0.75s;
-webkit-animation: anim-out 0.75s;
animation: anim-out 0.75s;
}
.clickable .toggle:not(:checked) + .anim:after {
-moz-animation: anim-out-pseudo 0.75s;
-webkit-animation: anim-out-pseudo 0.75s;
animation: anim-out-pseudo 0.75s;
}
.hoverable:hover > .anim {
-moz-animation: anim-out 0.75s;
-webkit-animation: anim-out 0.75s;
animation: anim-out 0.75s;
}
.hoverable:hover > .anim:after {
-moz-animation: anim-out-pseudo 0.75s;
-webkit-animation: anim-out-pseudo 0.75s;
animation: anim-out-pseudo 0.75s;
}
@-webkit-keyframes anim-in {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@-moz-keyframes anim-in {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@-ms-keyframes anim-in {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@keyframes anim-in {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@-webkit-keyframes anim-in-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
@-moz-keyframes anim-in-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
@-ms-keyframes anim-in-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
@keyframes anim-in-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
@-webkit-keyframes anim-out {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@-moz-keyframes anim-out {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@-ms-keyframes anim-out {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@keyframes anim-out {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@-webkit-keyframes anim-out-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
@-moz-keyframes anim-out-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
@-ms-keyframes anim-out-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
@keyframes anim-out-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
.color1{
background:#666666 ;
}
.color2{
background:#f8c013;
color:#2e2302;
}
.color3{
background:#f2625a;
}
.color4{
background:#b9ccd2;
color:#252b2d;
}
.color5{
background:#56c5ff;
color:#fff;
}
set_4.css
.set_4_button1 {
position: relative;
font-weight: 400;
text-align: center;
width: auto;
float:left;
padding:0 25px;
line-height:45px;
border:1px solid #fff;
overflow: hidden;
position: relative;
z-index: 0;
cursor: pointer;
color:#FFF;
margin-right: 2.5em;
}
.set_4_button1.raised {
-moz-transition: all 0.1s;
-o-transition: all 0.1s;
-webkit-transition: all 0.1s;
transition: all 0.1s;
background: #666666;
}
.set_4_button1.raised:active {
background: #515151;
box-shadow: 0px 1px 1px #063e6b;
}
.anim {
-moz-transform: translateY(-50%) translateX(-50%);
-ms-transform: translateY(-50%) translateX(-50%);
-webkit-transform: translateY(-50%) translateX(-50%);
transform: translateY(-50%) translateX(-50%);
position: absolute;
top: 50%;
left: 50%;
z-index: -1;
}
.anim:before {
position: relative;
content: '';
display: block;
margin-top: 100%;
}
.anim:after {
content: '';
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
border-radius: 50%;
}
.clickable .toggle:checked + .anim {
-moz-animation: anim-in 0.75s;
-webkit-animation: anim-in 0.75s;
animation: anim-in 0.75s;
}
.clickable .toggle:checked + .anim:after {
-moz-animation: anim-in-pseudo 0.75s;
-webkit-animation: anim-in-pseudo 0.75s;
animation: anim-in-pseudo 0.75s;
}
.clickable .toggle:not(:checked) + .anim {
-moz-animation: anim-out 0.75s;
-webkit-animation: anim-out 0.75s;
animation: anim-out 0.75s;
}
.clickable .toggle:not(:checked) + .anim:after {
-moz-animation: anim-out-pseudo 0.75s;
-webkit-animation: anim-out-pseudo 0.75s;
animation: anim-out-pseudo 0.75s;
}
.hoverable:hover > .anim {
-moz-animation: anim-out 0.75s;
-webkit-animation: anim-out 0.75s;
animation: anim-out 0.75s;
}
.hoverable:hover > .anim:after {
-moz-animation: anim-out-pseudo 0.75s;
-webkit-animation: anim-out-pseudo 0.75s;
animation: anim-out-pseudo 0.75s;
}
@-webkit-keyframes anim-in {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@-moz-keyframes anim-in {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@-ms-keyframes anim-in {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@keyframes anim-in {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@-webkit-keyframes anim-in-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
@-moz-keyframes anim-in-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
@-ms-keyframes anim-in-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
@keyframes anim-in-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
@-webkit-keyframes anim-out {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@-moz-keyframes anim-out {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@-ms-keyframes anim-out {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@keyframes anim-out {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@-webkit-keyframes anim-out-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
@-moz-keyframes anim-out-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
@-ms-keyframes anim-out-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
@keyframes anim-out-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
/****** button 2 *******/
.set_4_button2 {
position: relative;
font-weight: 400;
text-align: center;
width: auto;
float:left;
padding:0 25px;
line-height:45px;
overflow: hidden;
position: relative;
z-index: 0;
cursor: pointer;
color:#2e2302;
margin-right: 2.5em;
}
.set_4_button2.raised {
-moz-transition: all 0.1s;
-o-transition: all 0.1s;
-webkit-transition: all 0.1s;
transition: all 0.1s;
background: #f8c013;
}
.set_4_button2.raised:active {
background: #515151;
box-shadow: 0px 1px 1px #063e6b;
}
.anim {
-moz-transform: translateY(-50%) translateX(-50%);
-ms-transform: translateY(-50%) translateX(-50%);
-webkit-transform: translateY(-50%) translateX(-50%);
transform: translateY(-50%) translateX(-50%);
position: absolute;
top: 50%;
left: 50%;
z-index: -1;
}
.anim:before {
position: relative;
content: '';
display: block;
margin-top: 100%;
}
.anim:after {
content: '';
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
border-radius: 50%;
}
.clickable .toggle:checked + .anim {
-moz-animation: anim-in 0.75s;
-webkit-animation: anim-in 0.75s;
animation: anim-in 0.75s;
}
.clickable .toggle:checked + .anim:after {
-moz-animation: anim-in-pseudo 0.75s;
-webkit-animation: anim-in-pseudo 0.75s;
animation: anim-in-pseudo 0.75s;
}
.clickable .toggle:not(:checked) + .anim {
-moz-animation: anim-out 0.75s;
-webkit-animation: anim-out 0.75s;
animation: anim-out 0.75s;
}
.clickable .toggle:not(:checked) + .anim:after {
-moz-animation: anim-out-pseudo 0.75s;
-webkit-animation: anim-out-pseudo 0.75s;
animation: anim-out-pseudo 0.75s;
}
.hoverable:hover > .anim {
-moz-animation: anim-out 0.75s;
-webkit-animation: anim-out 0.75s;
animation: anim-out 0.75s;
}
.hoverable:hover > .anim:after {
-moz-animation: anim-out-pseudo 0.75s;
-webkit-animation: anim-out-pseudo 0.75s;
animation: anim-out-pseudo 0.75s;
}
@-webkit-keyframes anim-in {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@-moz-keyframes anim-in {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@-ms-keyframes anim-in {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@keyframes anim-in {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@-webkit-keyframes anim-in-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
@-moz-keyframes anim-in-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
@-ms-keyframes anim-in-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
@keyframes anim-in-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
@-webkit-keyframes anim-out {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@-moz-keyframes anim-out {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@-ms-keyframes anim-out {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@keyframes anim-out {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@-webkit-keyframes anim-out-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
@-moz-keyframes anim-out-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
@-ms-keyframes anim-out-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
@keyframes anim-out-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
/****** button 3 *******/
.set_4_button3 {
position: relative;
font-weight: 400;
text-align: center;
width: auto;
float:left;
padding:0 25px;
line-height:45px;
overflow: hidden;
position: relative;
z-index: 0;
cursor: pointer;
color:#ffffff;
margin-right: 2.5em;
}
.set_4_button3.raised {
-moz-transition: all 0.1s;
-o-transition: all 0.1s;
-webkit-transition: all 0.1s;
transition: all 0.1s;
background: #f2625a;
}
.set_4_button3.raised:active {
background: #515151;
box-shadow: 0px 1px 1px #063e6b;
}
.anim {
-moz-transform: translateY(-50%) translateX(-50%);
-ms-transform: translateY(-50%) translateX(-50%);
-webkit-transform: translateY(-50%) translateX(-50%);
transform: translateY(-50%) translateX(-50%);
position: absolute;
top: 50%;
left: 50%;
z-index: -1;
}
.anim:before {
position: relative;
content: '';
display: block;
margin-top: 100%;
}
.anim:after {
content: '';
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
border-radius: 50%;
}
.clickable .toggle:checked + .anim {
-moz-animation: anim-in 0.75s;
-webkit-animation: anim-in 0.75s;
animation: anim-in 0.75s;
}
.clickable .toggle:checked + .anim:after {
-moz-animation: anim-in-pseudo 0.75s;
-webkit-animation: anim-in-pseudo 0.75s;
animation: anim-in-pseudo 0.75s;
}
.clickable .toggle:not(:checked) + .anim {
-moz-animation: anim-out 0.75s;
-webkit-animation: anim-out 0.75s;
animation: anim-out 0.75s;
}
.clickable .toggle:not(:checked) + .anim:after {
-moz-animation: anim-out-pseudo 0.75s;
-webkit-animation: anim-out-pseudo 0.75s;
animation: anim-out-pseudo 0.75s;
}
.hoverable:hover > .anim {
-moz-animation: anim-out 0.75s;
-webkit-animation: anim-out 0.75s;
animation: anim-out 0.75s;
}
.hoverable:hover > .anim:after {
-moz-animation: anim-out-pseudo 0.75s;
-webkit-animation: anim-out-pseudo 0.75s;
animation: anim-out-pseudo 0.75s;
}
@-webkit-keyframes anim-in {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@-moz-keyframes anim-in {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@-ms-keyframes anim-in {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@keyframes anim-in {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@-webkit-keyframes anim-in-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
@-moz-keyframes anim-in-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
@-ms-keyframes anim-in-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
@keyframes anim-in-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
@-webkit-keyframes anim-out {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@-moz-keyframes anim-out {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@-ms-keyframes anim-out {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@keyframes anim-out {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@-webkit-keyframes anim-out-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
@-moz-keyframes anim-out-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
@-ms-keyframes anim-out-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
@keyframes anim-out-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
/****** button 4 *******/
.set_4_button4 {
position: relative;
font-weight: 400;
text-align: center;
width: auto;
float:left;
padding:0 25px;
line-height:45px;
overflow: hidden;
position: relative;
z-index: 0;
cursor: pointer;
color:#252b2d;
margin-right: 2.5em;
}
.set_4_button4.raised {
-moz-transition: all 0.1s;
-o-transition: all 0.1s;
-webkit-transition: all 0.1s;
transition: all 0.1s;
background: #b9ccd2;
}
.set_4_button4.raised:active {
background: #515151;
box-shadow: 0px 1px 1px #063e6b;
}
.anim {
-moz-transform: translateY(-50%) translateX(-50%);
-ms-transform: translateY(-50%) translateX(-50%);
-webkit-transform: translateY(-50%) translateX(-50%);
transform: translateY(-50%) translateX(-50%);
position: absolute;
top: 50%;
left: 50%;
z-index: -1;
}
.anim:before {
position: relative;
content: '';
display: block;
margin-top: 100%;
}
.anim:after {
content: '';
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
border-radius: 50%;
}
.clickable .toggle:checked + .anim {
-moz-animation: anim-in 0.75s;
-webkit-animation: anim-in 0.75s;
animation: anim-in 0.75s;
}
.clickable .toggle:checked + .anim:after {
-moz-animation: anim-in-pseudo 0.75s;
-webkit-animation: anim-in-pseudo 0.75s;
animation: anim-in-pseudo 0.75s;
}
.clickable .toggle:not(:checked) + .anim {
-moz-animation: anim-out 0.75s;
-webkit-animation: anim-out 0.75s;
animation: anim-out 0.75s;
}
.clickable .toggle:not(:checked) + .anim:after {
-moz-animation: anim-out-pseudo 0.75s;
-webkit-animation: anim-out-pseudo 0.75s;
animation: anim-out-pseudo 0.75s;
}
.hoverable:hover > .anim {
-moz-animation: anim-out 0.75s;
-webkit-animation: anim-out 0.75s;
animation: anim-out 0.75s;
}
.hoverable:hover > .anim:after {
-moz-animation: anim-out-pseudo 0.75s;
-webkit-animation: anim-out-pseudo 0.75s;
animation: anim-out-pseudo 0.75s;
}
@-webkit-keyframes anim-in {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@-moz-keyframes anim-in {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@-ms-keyframes anim-in {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@keyframes anim-in {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@-webkit-keyframes anim-in-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
@-moz-keyframes anim-in-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
@-ms-keyframes anim-in-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
@keyframes anim-in-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
@-webkit-keyframes anim-out {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@-moz-keyframes anim-out {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@-ms-keyframes anim-out {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@keyframes anim-out {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@-webkit-keyframes anim-out-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
@-moz-keyframes anim-out-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
@-ms-keyframes anim-out-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
@keyframes anim-out-pseudo {
0% {
background: rgba(0, 0, 0, 0.25);
}
100% {
background: transparent;
}
}
set_5.css
/* button 1*/
.set_5_button {
background: #666;
color: white;
overflow: hidden;
z-index: 1;
float: left;
font-weight: 400;
line-height: 45px;
margin-right: 2.5em;
cursor:pointer;
overflow: hidden;
padding: 0 25px;
position: relative;
text-align: center;
width: auto;
}
.set_5_button:after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 500%;
height: 1000%;
background: #838383;
z-index: -1;
transform-origin: 0% 0%;
transform: translateX(calc(20% - 25px)) translateY(10%) rotate(-45deg);
/transform: translateY(10%) translateX(16%) rotate(-45deg);
transition: transform .3s;
}
.set_5_button:hover::after {
transform: translateY(10%) translateX(-25px) rotate(-45deg);
}
/* button 2*/
.set_5_button2 {
background: #e1b700;
color:#2e2302;
overflow: hidden;
z-index: 1;
float: left;
font-weight: 400;
line-height: 45px;
margin-right: 2.5em;
cursor:pointer;
overflow: hidden;
padding: 0 25px;
position: relative;
text-align: center;
width: auto;
}
.set_5_button2:after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 500%;
height: 1000%;
background: #ffd311;
z-index: -1;
transform-origin: 0% 0%;
transform: translateX(calc(20% - 25px)) translateY(10%) rotate(-45deg);
/transform: translateY(10%) translateX(16%) rotate(-45deg);
transition: transform .3s;
}
.set_5_button2:hover::after {
transform: translateY(10%) translateX(-25px) rotate(-45deg);
}
/* button 3*/
.set_5_button3 {
background: #f2625a;
color: white;
overflow: hidden;
z-index: 1;
float: left;
font-weight: 400;
line-height: 45px;
margin-right: 2.5em;
cursor:pointer;
overflow: hidden;
padding: 0 25px;
position: relative;
text-align: center;
width: auto;
}
.set_5_button3:after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 500%;
height: 1000%;
background: #dd483f;
z-index: -1;
transform-origin: 0% 0%;
transform: translateX(calc(20% - 25px)) translateY(10%) rotate(-45deg);
/transform: translateY(10%) translateX(16%) rotate(-45deg);
transition: transform .3s;
}
.set_5_button3:hover::after {
transform: translateY(10%) translateX(-25px) rotate(-45deg);
}
/* button 4*/
.set_5_button4 {
background: #b9ccd2 ;
color: #252b2d;
overflow: hidden;
z-index: 1;
float: left;
font-weight: 400;
line-height: 45px;
margin-right: 2.5em;
cursor:pointer;
overflow: hidden;
padding: 0 25px;
position: relative;
text-align: center;
width: auto;
}
.set_5_button4:after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 500%;
height: 1000%;
background: #cce0e7;
z-index: -1;
transform-origin: 0% 0%;
transform: translateX(calc(20% - 25px)) translateY(10%) rotate(-45deg);
/transform: translateY(10%) translateX(16%) rotate(-45deg);
transition: transform .3s;
}
.set_5_button4:hover::after {
transform: translateY(10%) translateX(-25px) rotate(-45deg);
}
set_6.css
.set_6_btn {
display: inline-block;
vertical-align: middle;
position: relative;
margin-right:2.5em;
}
.set_6_btn span {
display: block;
padding: 30px;
color: #FFFFFF;
-webkit-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
cursor: pointer;
float: left;
font-weight: 400;
line-height:20px;
}
.set_6_btn.out .corners {
position: absolute;
width: 100%;
-webkit-transition-duration: 0.3s;
transition-duration: 0.3s;
}
.set_6_btn.out .corners:before, .set_6_btn.out .corners:after {
content: '';
position: absolute;
width: 7px;
height: 7px;
border-color:#ffd311;
border-style: solid;
-webkit-transition-duration: 0.3s;
transition-duration: 0.3s;
-webkit-transform: translateZ(0);
transform: translateZ(0);
}
.set_6_btn.out .corners.top:before {
border-width: 1px 0 0 1px;
}
.set_6_btn.out .corners.top:after {
border-width: 1px 1px 0 0;
}
.set_6_btn.out .corners.bottom:before {
border-width: 0 0 1px 1px;
}
.set_6_btn.out .corners.bottom:after {
border-width: 0 1px 1px 0;
}
.set_6_btn.out .corners:before {
left: 0;
}
.set_6_btn.out .corners:after {
right: 0;
}
.set_6_btn.out .corners.top {
top: 0;
}
.set_6_btn.out .corners.bottom {
bottom: 7px;
}
.set_6_btn.out:hover .corners:before {
left: 20px;
}
.set_6_btn.out:hover .corners:after {
right: 20px;
}
.set_6_btn.out:hover .corners.top {
top: 20px;
}
.set_6_btn.out:hover .corners.bottom {
bottom: 27px;
}
.set_6_btn.in .corners {
position: absolute;
width: 100%;
-webkit-transition-duration: 0.3s;
transition-duration: 0.3s;
}
.set_6_btn.in .corners:before, .set_6_btn.in .corners:after {
content: '';
position: absolute;
width: 7px;
height: 7px;
border-color: #FFB902;
border-style: solid;
-webkit-transition-duration: 0.3s;
transition-duration: 0.3s;
-webkit-transform: translateZ(0);
transform: translateZ(0);
}
.set_6_btn.in .corners.top:before {
border-width: 1px 0 0 1px;
}
.set_6_btn.in .corners.top:after {
border-width: 1px 1px 0 0;
}
.set_6_btn.in .corners.bottom:before {
border-width: 0 0 1px 1px;
}
.set_6_btn.in .corners.bottom:after {
border-width: 0 1px 1px 0;
}
.set_6_btn.in .corners:before {
left: 20px;
}
.set_6_btn.in .corners:after {
right: 20px;
}
.set_6_btn.in .corners.top {
top: 20px;
}
.set_6_btn.in .corners.bottom {
bottom: 27px;
}
.set_6_btn.in:hover .corners:before {
left: 0;
}
.set_6_btn.in:hover .corners:after {
right: 0;
}
.set_6_btn.in:hover .corners.top {
top: 0;
}
.set_6_btn.in:hover .corners.bottom {
bottom: 7px;
}
.set_6_btn.yellow span {
color:#333;
}
.set_6_btn.yellow .corners:after, .set_6_btn.yellow .corners:before {
border-color: #ffd311;
}
.set_6_btn.grey span {
color:#333;
}
.set_6_btn.grey .corners:after, .set_6_btn.grey .corners:before {
border-color: #838383;
}
.set_6_btn.red span {
color:#333;
}
.set_6_btn.red .corners:after, .set_6_btn.red .corners:before {
border-color: #dd483f;
}
.set_6_btn.blue span {
color:#333;
}
.set_6_btn.blue .corners:after, .set_6_btn.blue .corners:before {
border-color: #56c5ff ;
}
set_7.css
.set_7_btn-wrapper {
float:left;
width:auto;
line-height: 45px;
display: inline-block;
margin-right:2em;
text-align:center;
}
#set_7_button1 {
stroke-width: 6px;
fill: transparent;
stroke: #666666;
stroke-dasharray: 85 400;
stroke-dashoffset: -228;
transition: 1s all ease;
}
.set_7_btn-wrapper:hover #set_7_button1 {
stroke-dasharray: 50 0;
stroke-width: 3px;
stroke-dashoffset: 0;
stroke: #666666;
}
#set_7_text {
margin-top:-60px;
text-align: center;
}
#set_7_text a {
color: #333;
text-decoration: none;
font-weight:400;
}
/*button 2*/
#set_7_button2 {
stroke-width: 6px;
fill: transparent;
stroke: #ffd311 ;
stroke-dasharray: 85 400;
stroke-dashoffset: -228;
transition: 1s all ease;
}
.set_7_btn-wrapper:hover #set_7_button2 {
stroke-dasharray: 50 0;
stroke-width: 3px;
stroke-dashoffset: 0;
stroke: #ffd311;
}
/*button 3*/
#set_7_button3 {
stroke-width: 6px;
fill: transparent;
stroke: #dd483f ;
stroke-dasharray: 85 400;
stroke-dashoffset: -228;
transition: 1s all ease;
}
.set_7_btn-wrapper:hover #set_7_button3 {
stroke-dasharray: 50 0;
stroke-width: 3px;
stroke-dashoffset: 0;
stroke: #dd483f;
}
/*button 4*/
#set_7_button4 {
stroke-width: 6px;
fill: transparent;
stroke: #56c5ff;
stroke-dasharray: 85 400;
stroke-dashoffset: -228;
transition: 1s all ease;
}
.set_7_btn-wrapper:hover #set_7_button4 {
stroke-dasharray: 50 0;
stroke-width: 3px;
stroke-dashoffset: 0;
stroke: #56c5ff;
}
set_8.css
.set_8_button {
display: inline-block;
font-weight: 400;
padding: 0px 25px;
line-height:45px;
text-decoration: none;
margin-right: 2em;
cursor:pointer;
text-align: center;
transition: background 300ms;
}
.set_8_button.outline {
color: #333;
overflow: hidden;
position: relative;
}
.set_8_button.outline:before, .set_8_button.outline:after, .set_8_button.outline .lines:before, .set_8_button.outline .lines:after {
background-color: #666666;
content: "";
height: 2px;
left: 0;
position: absolute;
top: 0;
transition: transform 300ms;
width: 100%;
}
.set_8_button.outline:before {
bottom: 0;
top: auto;
}
.set_8_button.outline .lines {
display: block;
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 0;
}
.set_8_button.outline .lines:before, .set_8_button.outline .lines:after {
height: 100%;
width: 2px;
}
.set_8_button.outline .lines:after {
left: auto;
right: 0;
}
.set_8_button:hover:before {
transform: translateX(-100%);
}
.set_8_button:hover:after {
transform: translateX(100%);
}
.set_8_button:hover .lines:before {
transform: translateY(-100%);
}
.set_8_button:hover .lines:after {
transform: translateY(100%);
}
/*** button 2 ***/
.set_8_button2 {
display: inline-block;
font-weight: 400;
padding: 0px 25px;
line-height:45px;
text-decoration: none;
margin-right: 2em;
cursor:pointer;
text-align: center;
transition: background 300ms;
}
.set_8_button2.outline {
color: #333;
overflow: hidden;
position: relative;
}
.set_8_button2.outline:before, .set_8_button2.outline:after, .set_8_button2.outline .lines:before, .set_8_button2.outline .lines:after {
background-color: #f8c013;
content: "";
height: 2px;
left: 0;
position: absolute;
top: 0;
transition: transform 300ms;
width: 100%;
}
.set_8_button2.outline:before {
bottom: 0;
top: auto;
}
.set_8_button2.outline .lines {
display: block;
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 0;
}
.set_8_button2.outline .lines:before, .set_8_button2.outline .lines:after {
height: 100%;
width: 2px;
}
.set_8_button2.outline .lines:after {
left: auto;
right: 0;
}
.set_8_button2:hover:before {
transform: translateX(-100%);
}
.set_8_button2:hover:after {
transform: translateX(100%);
}
.set_8_button2:hover .lines:before {
transform: translateY(-100%);
}
.set_8_button2:hover .lines:after {
transform: translateY(100%);
}
/*** button 3 ***/
.set_8_button3 {
display: inline-block;
font-weight: 400;
padding: 0px 25px;
line-height:45px;
text-decoration: none;
margin-right: 2em;
cursor:pointer;
text-align: center;
transition: background 300ms;
}
.set_8_button3.outline {
color: #333;
overflow: hidden;
position: relative;
}
.set_8_button3.outline:before, .set_8_button3.outline:after, .set_8_button3.outline .lines:before, .set_8_button3.outline .lines:after {
background-color: #dd483f;
content: "";
height: 2px;
left: 0;
position: absolute;
top: 0;
transition: transform 300ms;
width: 100%;
}
.set_8_button3.outline:before {
bottom: 0;
top: auto;
}
.set_8_button3.outline .lines {
display: block;
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 0;
}
.set_8_button3.outline .lines:before, .set_8_button3.outline .lines:after {
height: 100%;
width: 2px;
}
.set_8_button3.outline .lines:after {
left: auto;
right: 0;
}
.set_8_button3:hover:before {
transform: translateX(-100%);
}
.set_8_button3:hover:after {
transform: translateX(100%);
}
.set_8_button3:hover .lines:before {
transform: translateY(-100%);
}
.set_8_button3:hover .lines:after {
transform: translateY(100%);
}
/*** button 4 ***/
.set_8_button4 {
display: inline-block;
font-weight: 400;
padding: 0px 25px;
line-height:45px;
text-decoration: none;
margin-right: 2em;
cursor:pointer;
text-align: center;
transition: background 300ms;
}
.set_8_button4.outline {
color: #333;
overflow: hidden;
position: relative;
}
.set_8_button4.outline:before, .set_8_button4.outline:after, .set_8_button4.outline .lines:before, .set_8_button4.outline .lines:after {
background-color: #56c5ff;
content: "";
height: 2px;
left: 0;
position: absolute;
top: 0;
transition: transform 300ms;
width: 100%;
}
.set_8_button4.outline:before {
bottom: 0;
top: auto;
}
.set_8_button4.outline .lines {
display: block;
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 0;
}
.set_8_button4.outline .lines:before, .set_8_button4.outline .lines:after {
height: 100%;
width: 2px;
}
.set_8_button4.outline .lines:after {
left: auto;
right: 0;
}
.set_8_button4:hover:before {
transform: translateX(-100%);
}
.set_8_button4:hover:after {
transform: translateX(100%);
}
.set_8_button4:hover .lines:before {
transform: translateY(-100%);
}
.set_8_button4:hover .lines:after {
transform: translateY(100%);
}
set_9.css
.set_9_btn-corner {
padding: 0px 25px;
border: none;
background: transparent;
color: #333;
width:auto;
float:left;
position:relative;
line-height:45px;
cursor:pointer;
margin-right: 2em;
}
.set_9_btn-corner span {
position: absolute;
background-color: #666666;
display: block;
transition: all 200ms;
}
.set_9_btn-corner .line1,
.set_9_btn-corner .line3 {
height: 2px;
width: 20px;
}
.set_9_btn-corner .line2,
.set_9_btn-corner .line4 {
height: 20px;
width: 2px;
}
.set_9_btn-corner .line1,
.set_9_btn-corner .line2 {
top: 0;
right: 0;
}
.set_9_btn-corner .line3,
.set_9_btn-corner .line4 {
bottom: 0;
left: 0;
}
.set_9_btn-corner.reverse .line1,
.set_9_btn-corner.reverse .line3 {
width: 100%;
}
.set_9_btn-corner.reverse .line2,
.set_9_btn-corner.reverse .line4 {
height: 100%;
}
.set_9_btn-corner:hover,
.set_9_btn-corner:active {
background-color: transparent;
color: #333;
}
.set_9_btn-corner:hover .line1,
.set_9_btn-corner:active .line1,
.set_9_btn-corner:hover .line3,
.set_9_btn-corner:active .line3 {
width: 100%;
}
.set_9_btn-corner:hover .line2,
.set_9_btn-corner:active .line2,
.set_9_btn-corner:hover .line4,
.set_9_btn-corner:active .line4 {
height: 100%;
}
.set_9_btn-corner:hover.reverse .line1,
.set_9_btn-corner:active.reverse .line1,
.set_9_btn-corner:hover.reverse .line3,
.set_9_btn-corner:active.reverse .line3 {
width: 20px;
}
.set_9_btn-corner:hover.reverse .line2,
.set_9_btn-corner:active.reverse .line2,
.set_9_btn-corner:hover.reverse .line4,
.set_9_btn-corner:active.reverse .line4 {
height: 20px;
}
/* button 2*/
.set_9_btn2-corner {
padding: 0px 25px;
border: none;
background: transparent;
color: #333;
width:auto;
float:left;
position:relative;
line-height:45px;
cursor:pointer;
margin-right: 2em;
}
.set_9_btn2-corner span {
position: absolute;
background-color: #f8c013;
display: block;
transition: all 200ms;
}
.set_9_btn2-corner .line1,
.set_9_btn2-corner .line3 {
height: 2px;
width: 20px;
}
.set_9_btn2-corner .line2,
.set_9_btn2-corner .line4 {
height: 20px;
width: 2px;
}
.set_9_btn2-corner .line1,
.set_9_btn2-corner .line2 {
top: 0;
right: 0;
}
.set_9_btn2-corner .line3,
.set_9_btn2-corner .line4 {
bottom: 0;
left: 0;
}
.set_9_btn2-corner.reverse .line1,
.set_9_btn2-corner.reverse .line3 {
width: 100%;
}
.set_9_btn2-corner.reverse .line2,
.set_9_btn2-corner.reverse .line4 {
height: 100%;
}
.set_9_btn2-corner:hover,
.set_9_btn2-corner:active {
background-color: transparent;
color: #333;
}
.set_9_btn2-corner:hover .line1,
.set_9_btn2-corner:active .line1,
.set_9_btn2-corner:hover .line3,
.set_9_btn2-corner:active .line3 {
width: 100%;
}
.set_9_btn2-corner:hover .line2,
.set_9_btn2-corner:active .line2,
.set_9_btn2-corner:hover .line4,
.set_9_btn2-corner:active .line4 {
height: 100%;
}
.set_9_btn2-corner:hover.reverse .line1,
.set_9_btn2-corner:active.reverse .line1,
.set_9_btn2-corner:hover.reverse .line3,
.set_9_btn2-corner:active.reverse .line3 {
width: 20px;
}
.set_9_btn2-corner:hover.reverse .line2,
.set_9_btn2-corner:active.reverse .line2,
.set_9_btn2-corner:hover.reverse .line4,
.set_9_btn2-corner:active.reverse .line4 {
height: 20px;
}
/* button 3*/
.set_9_btn3-corner {
padding: 0px 25px;
border: none;
background: transparent;
color: #333;
width:auto;
float:left;
position:relative;
line-height:45px;
cursor:pointer;
margin-right: 2em;
}
.set_9_btn3-corner span {
position: absolute;
background-color: #dd483f;
display: block;
transition: all 200ms;
}
.set_9_btn3-corner .line1,
.set_9_btn3-corner .line3 {
height: 2px;
width: 20px;
}
.set_9_btn3-corner .line2,
.set_9_btn3-corner .line4 {
height: 20px;
width: 2px;
}
.set_9_btn3-corner .line1,
.set_9_btn3-corner .line2 {
top: 0;
right: 0;
}
.set_9_btn3-corner .line3,
.set_9_btn3-corner .line4 {
bottom: 0;
left: 0;
}
.set_9_btn3-corner.reverse .line1,
.set_9_btn3-corner.reverse .line3 {
width: 100%;
}
.set_9_btn3-corner.reverse .line2,
.set_9_btn3-corner.reverse .line4 {
height: 100%;
}
.set_9_btn3-corner:hover,
.set_9_btn3-corner:active {
background-color: transparent;
color: #333;
}
.set_9_btn3-corner:hover .line1,
.set_9_btn3-corner:active .line1,
.set_9_btn3-corner:hover .line3,
.set_9_btn3-corner:active .line3 {
width: 100%;
}
.set_9_btn3-corner:hover .line2,
.set_9_btn3-corner:active .line2,
.set_9_btn3-corner:hover .line4,
.set_9_btn3-corner:active .line4 {
height: 100%;
}
.set_9_btn3-corner:hover.reverse .line1,
.set_9_btn3-corner:active.reverse .line1,
.set_9_btn3-corner:hover.reverse .line3,
.set_9_btn3-corner:active.reverse .line3 {
width: 20px;
}
.set_9_btn3-corner:hover.reverse .line2,
.set_9_btn3-corner:active.reverse .line2,
.set_9_btn3-corner:hover.reverse .line4,
.set_9_btn3-corner:active.reverse .line4 {
height: 20px;
}
/* button 4*/
.set_9_btn4-corner {
padding: 0px 25px;
border: none;
background: transparent;
color: #333;
width:auto;
float:left;
position:relative;
line-height:45px;
cursor:pointer;
margin-right: 2em;
}
.set_9_btn4-corner span {
position: absolute;
background-color: #56c5ff;
display: block;
transition: all 200ms;
}
.set_9_btn4-corner .line1,
.set_9_btn4-corner .line3 {
height: 2px;
width: 20px;
}
.set_9_btn4-corner .line2,
.set_9_btn4-corner .line4 {
height: 20px;
width: 2px;
}
.set_9_btn4-corner .line1,
.set_9_btn4-corner .line2 {
top: 0;
right: 0;
}
.set_9_btn4-corner .line3,
.set_9_btn4-corner .line4 {
bottom: 0;
left: 0;
}
.set_9_btn4-corner.reverse .line1,
.set_9_btn4-corner.reverse .line3 {
width: 100%;
}
.set_9_btn4-corner.reverse .line2,
.set_9_btn4-corner.reverse .line4 {
height: 100%;
}
.set_9_btn4-corner:hover,
.set_9_btn4-corner:active {
background-color: transparent;
color: #333;
}
.set_9_btn4-corner:hover .line1,
.set_9_btn4-corner:active .line1,
.set_9_btn4-corner:hover .line3,
.set_9_btn4-corner:active .line3 {
width: 100%;
}
.set_9_btn4-corner:hover .line2,
.set_9_btn4-corner:active .line2,
.set_9_btn4-corner:hover .line4,
.set_9_btn4-corner:active .line4 {
height: 100%;
}
.set_9_btn4-corner:hover.reverse .line1,
.set_9_btn4-corner:active.reverse .line1,
.set_9_btn4-corner:hover.reverse .line3,
.set_9_btn4-corner:active.reverse .line3 {
width: 20px;
}
.set_9_btn4-corner:hover.reverse .line2,
.set_9_btn4-corner:active.reverse .line2,
.set_9_btn4-corner:hover.reverse .line4,
.set_9_btn4-corner:active.reverse .line4 {
height: 20px;
}
set_10.css
.set_10_button {
outline: none;
border: none;
display: block;
cursor: pointer;
width:auto;
float:left;
background-color: transparent;
position: relative;
border: 2px solid #999;
float: left;
font-weight: 400;
line-height: 45px;
margin-right: 2.5em;
overflow: hidden;
padding: 0 25px;
position: relative;
text-align: center;
transition: all 0.5s ease;
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
}
.btn1 {
overflow: hidden;
}
.btn1 span {
color: #666;
display: inline-block;
transition: all 0.3s ease;
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
-ms-transition: all 0.3s ease;
}
.btn1 .icon {
position: absolute;
left: -60px;
top: 0;
color: #fff;
width:40px;
float:left;
background-color: #666666;
transition: all 0.3s ease;
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
-ms-transition: all 0.3s ease;
}
.btn1:hover .icon {
left: 0px;
}
.btn1:hover span {
color: #666666;
margin-left: 50px;
}
/* button 2 */
.set_10_button2 {
outline: none;
border: none;
display: block;
cursor: pointer;
width:auto;
float:left;
background-color: transparent;
position: relative;
border: 2px solid #f8c013;
float: left;
font-weight: 400;
line-height: 45px;
margin-right: 2.5em;
overflow: hidden;
padding: 0 25px;
position: relative;
text-align: center;
transition: all 0.5s ease;
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
}
.btn2 {
overflow: hidden;
}
.btn2 span {
color: #666;
display: inline-block;
transition: all 0.3s ease;
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
-ms-transition: all 0.3s ease;
}
.btn2 .icon {
position: absolute;
left: -60px;
top: 0;
color: #fff;
width:40px;
float:left;
background-color: #ffd311;
transition: all 0.3s ease;
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
-ms-transition: all 0.3s ease;
}
.btn2:hover .icon {
left: 0px;
}
.btn2:hover span {
color: #666;
margin-left: 50px;
}
/* button 3 */
.set_10_button3 {
outline: none;
border: none;
display: block;
cursor: pointer;
width:auto;
float:left;
background-color: transparent;
position: relative;
border: 2px solid #f2625a;
float: left;
font-weight: 400;
line-height: 45px;
margin-right: 2.5em;
overflow: hidden;
padding: 0 25px;
position: relative;
text-align: center;
transition: all 0.5s ease;
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
}
.btn3 {
overflow: hidden;
}
.btn3 span {
color: #666;
display: inline-block;
transition: all 0.3s ease;
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
-ms-transition: all 0.3s ease;
}
.btn3 .icon {
position: absolute;
left: -60px;
top: 0;
color: #fff;
width:40px;
float:left;
background-color: #f2625a;
transition: all 0.3s ease;
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
-ms-transition: all 0.3s ease;
}
.btn3:hover .icon {
left: 0px;
}
.btn3:hover span {
color: #666;
margin-left: 50px;
}
/* button 4 */
.set_10_button4 {
outline: none;
border: none;
display: block;
cursor: pointer;
width:auto;
float:left;
background-color: transparent;
position: relative;
border: 2px solid #56c5ff;
float: left;
font-weight: 400;
line-height: 45px;
margin-right: 2.5em;
overflow: hidden;
padding: 0 25px;
position: relative;
text-align: center;
transition: all 0.5s ease;
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
}
.btn4 {
overflow: hidden;
}
.btn4 span {
color: #666;
display: inline-block;
transition: all 0.3s ease;
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
-ms-transition: all 0.3s ease;
}
.btn4 .icon {
position: absolute;
left: -60px;
top: 0;
color: #fff;
width:40px;
float:left;
background-color: #56c5ff;
transition: all 0.3s ease;
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
-ms-transition: all 0.3s ease;
}
.btn4:hover .icon {
left: 0px;
}
.btn4:hover span {
color: #666;
margin-left: 50px;
}
set_11.css
.set_11_buttons {
margin-top: 0px;
}
.set_11_buttons > a {
position: relative;
font-size: 25px;
text-align: center;
display: inline-block;
color: white;
z-index: 1;
border-radius: 50%;
background: rgba(0, 0, 0, 0.3);
border: 0 none;
line-height: 55px;
margin: 10px;
width: 55px;
height: 55px;
-webkit-box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.75);
-moz-box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.75);
box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.75);
}
.set_11_buttons > a::before {
content: "";
position: absolute;
display: block;
width: 100%;
height: 100%;
border-radius: 50%;
border: 0 none;
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-ms-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
-webkit-transition: 0.5s all ease-in-out;
-moz-transition: 0.5s all ease-in-out;
-o-transition: 0.5s all ease-in-out;
transition: 0.5s all ease-in-out;
z-index: -1;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
.set_11_buttons > a:hover::before {
background: #02c39a;
border-radius: 0;
border: 0;
-webkit-transform: rotate(225deg);
-moz-transform: rotate(225deg);
-ms-transform: rotate(225deg);
-o-transform: rotate(225deg);
transform: rotate(225deg);
}
.set_11_buttons > a.facebook:hover::before {
background: #3b5998;
}
.set_11_buttons > a.twitter:hover::before {
background: #1cadeb;
}
.set_11_buttons > a.google-plus:hover::before {
background: #d95232;
}
.set_11_buttons > a.github:hover::before {
background: #0d2636;
}
.set_11_buttons > a.email:hover::before {
background: #02c39a;
}
set_12.css
/* Wrapper */
.set_12_icon-button {
background-color: #666;
border-radius: 3.6rem;
cursor: pointer;
display: inline-block;
font-size:27px;
height: 3.6rem;
line-height: 3.6rem;
margin: 0 6px;
position: relative;
text-align: center;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
width: 3.6rem;
text-decoration:none;
}
/* Circle */
.set_12_icon-button span {
border-radius: 0;
display: block;
height: 0;
left: 50%;
margin: 0;
position: absolute;
top: 50%;
-webkit-transition: all 0.3s;
-moz-transition: all 0.3s;
-o-transition: all 0.3s;
transition: all 0.3s;
width: 0;
}
.set_12_icon-button:hover span {
width: 3.6rem;
height: 3.6rem;
border-radius: 3.6rem;
margin: -1.8rem;
}
.twitter span {
background-color: #55c5f5;
}
.facebook span {
background-color: #3B5998;
}
.google-plus span {
background-color: #db5a3c;
}
.linkedin span {
background-color: #1d82d4;
}
.pinterest span {
background-color: #b8252b;
}
/* Icons */
.set_12_icon-button i {
background: none;
color: #fff !important;
height: 3.6rem;
left: 0;
line-height: 3.6rem;
position: absolute;
top: 0;
-webkit-transition: all 0.3s;
-moz-transition: all 0.3s;
-o-transition: all 0.3s;
transition: all 0.3s;
width: 3.6rem;
z-index: 10;
}
.set_12_icon-button .fa fa-twitter{
color: #4099ff !important;
}
.set_12_icon-button .fa fa-facebook{
color: #3B5998;
}
.set_12_icon-button .fa fa-google-plus {
color: #db5a3c;
}
.set_12_icon-button:hover .fa fa-twitter,
.set_12_icon-button:hover .fa fa-facebook,
.set_12_icon-button:hover .fa fa-linkedin,
.set_12_icon-button:hover .fa fa-pinterest-p,
.set_12_icon-button:hover .fa fa-google-plus {
color: #fff !important;
}
set_13.css
.viavi_share {
width:100% !important;
overflow:hidden;
margin:0px auto;
}
.viavi_share .Vbtn .viavi_bg_button div {
font-size:16px;
color:rgb(124, 124, 124);
}
/*=======================*/
/*=== MB share buttons ===*/
.viavi_share .Vbtn {
background:#DCE0E0;
position:relative;
float:left;
margin:0 7px 14px;
width:150px;
height:40px;
cursor:pointer;
overflow:hidden;
-webkit-border-radius:3px;
-moz-border-radius:3px;
border-radius:3px;
}
.viavi_share .Vbtn .Vicon {
float:left;
z-index:200;
position:relative;
width:40px;
height:40px;
line-height:40px;
color:#FFF;
text-align:center;
-webkit-border-radius:3px 0px 0px 3px;
-moz-border-radius:3px 0px 0px 3px;
border-radius:3px 0px 0px 3px;
}
.viavi_share .Vbtn .viavi_bg_button {
width:110px;
height:40px;
float:left;
background:#DCE0E0 !important;
display:table;
}
.viavi_share .Vbtn .viavi_bg_button > div {
display:table-cell;
vertical-align:middle;
text-align:center;
}
.viavi_share .Vbtn .Vslide {
position:absolute;
right:0;
top:0;
z-index:100;
float:left;
width:110px;
height:40px;
transition:.2s transform linear;
-webkit-transition:.2s -webkit-transform linear;
-moz-transition:.2s -moz-transform linear;
}
.viavi_share .Vbtn .Vslide span {
color:#fff;
display:block;
cursor:default;
width:100%;
text-align:center;
margin:7px 0;
padding:2px 0;
font-size:16px;
border-left:1px solid rgba(255,255,255,0.35);
}
/* Transitions */
.viavi_share .Vbtn.Vslide_x:hover .Vslide {
-webkit-transform:translateX(110px);
-moz-transform:translateX(110px);
transform:translateX(110px);
}
.viavi_share .Vbtn.Vslide_nx:hover .Vslide {
-webkit-transform:translateX(-110px);
-moz-transform:translateX(-110px);
transform:translateX(-110px);
}
.viavi_share .Vbtn.Vslide_y:hover .Vslide {
-webkit-transform:translateY(40px);
-moz-transform:translateY(40px);
transform:translateY(40px);
}
.viavi_share .Vbtn.Vslide_ny:hover .Vslide {
-webkit-transform:translateY(-40px);
-moz-transform:translateY(-40px);
transform:translateY(-40px);
}
/*========================*/
/*=== Colors ===*/
/* FACEBOOK */
.viavi_share .Vbtn.Vfacebook > div {
background-color:#305c99;
}
/* TWITTER */
.viavi_share .Vbtn.Vtwitter > div {
background-color:#00cdff;
}
/* YOUTUBE */
.viavi_share .Vbtn.Vyoutube > div {
background-color:#e22b26;
}
/* GOOGLE PLUS */
.viavi_share .Vbtn.Vgplus > div {
background-color:#3f3d3e;
}
/* LINKEDIN */
.viavi_share .Vbtn.Vlinkedin > div {
background-color:#007bb6 ;
}
/* TUMBLR */
.viavi_share .Vbtn.Vtumblr > div {
background-color:#2c4762;
}
/* GITHUB */
.viavi_share .Vbtn.Vgithub > div {
background-color:#42c0fb;
}
/* PINTEREST */
.viavi_share .Vbtn.Vpinterest > div {
background-color:#dc0d0a;
}
/*==============*/
set_14.css
.set_14_viavi-buttons {
width:100%;
float:left;
}
.set_14_viavi-buttons i {
line-height:25px;
}
.set_14_viavi-buttons div {
display: inline-block;
position: relative;
color: #FFFFFF;
text-shadow: 0 1px 1px #263A65;
border: 1px solid #263A65;
text-align: center;
-webkit-box-shadow: inset 0 1px 0 rgba(245, 254, 254, 0.2), 0 1px 0 rgba(245, 254, 254, 0.2);
box-shadow: inset 0 1px 0 rgba(245, 254, 254, 0.2), 0 1px 0 rgba(245, 254, 254, 0.2);
width: 25px;
height: 25px;
padding: 10px;
margin-right:10px;
cursor:pointer;
background-color: #3B5998;
-webkit-border-radius: 5px;
border-radius: 5px;
-webkit-transition: ease 0.5s;
-moz-transition: ease 0.5s;
-ms-transition: ease 0.5s;
-o-transition: ease 0.5s;
transition: ease 0.5s;
}
.set_14_viavi-buttons div:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
content: attr(data-share);
position: absolute;
opacity: 0;
top: 0px;
right: 0;
font-size: 12px;
margin: auto;
color: #fff;
text-shadow: none;
left: 0;
padding-top: 5px;
background: #666;
-webkit-border-radius: 3px;
border-radius: 3px;
width: 25px;
height: 25px;
-webkit-transition: ease 0.5s;
-moz-transition: ease 0.5s;
-ms-transition: ease 0.5s;
-o-transition: ease 0.5s;
transition: ease 0.5s;
}
.set_14_viavi-buttons div:before {
bottom: 15px;
content: "";
left: 0;
right: 0;
opacity: 0;
margin: auto;
width: 0px;
height: 0;
position: absolute;
z-index: 99;
border: solid;
-webkit-transition: ease 0.5s;
-moz-transition: ease 0.5s;
-ms-transition: ease 0.5s;
-o-transition: ease 0.5s;
transition: ease 0.5s;
border-color: #666 transparent;
border-width: 3px 3px 0 3px;
}
.set_14_viavi-buttons div:hover::after {
top: -30px;
opacity: 1;
}
.set_14_viavi-buttons div:hover::before {
bottom: 47px;
opacity: 1;
}
.set_14_viavi-buttons .Vtw {
background-color: #00A7E7;
border: 1px solid #0074A2;
text-shadow: 0 1px 1px #0074A2;
}
.set_14_viavi-buttons .Vtw:after {
color: #fff;
}
.set_14_viavi-buttons .Vin {
background-color: #1C87BD;
border: 1px solid #136994;
text-shadow: 0 1px 1px #136994;
}
.set_14_viavi-buttons .Vin:after {
color: #fff;
}
.set_14_viavi-buttons .Vdb {
background-color: #F75A92;
border: 1px solid #BF4571;
text-shadow: 0 1px 1px #BF4571;
}
.set_14_viavi-buttons .Vdb:after {
color: #fff;
}
set_15.css
.set_15_social-buttons {
float:left;
}
.set_15_social-button {
display: inline-block;
background-color: #fff;
width: 60px;
height:60px;
cursor:pointer;
line-height:60px;
margin: 0 10px;
text-align: center;
position: relative;
overflow: hidden;
opacity: .99;
border-radius: 28%;
box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.05);
-webkit-transition: all 0.35s cubic-bezier(0.31, -0.105, 0.43, 1.59);
transition: all 0.35s cubic-bezier(0.31, -0.105, 0.43, 1.59);
}
.set_15_social-button:before {
content: '';
background-color: #000;
width: 120%;
height: 120%;
position: absolute;
top: 90%;
left: -110%;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
-webkit-transition: all 0.35s cubic-bezier(0.31, -0.105, 0.43, 1.59);
transition: all 0.35s cubic-bezier(0.31, -0.105, 0.43, 1.59);
}
.set_15_social-button .fa {
font-size: 38px;
vertical-align: middle;
-webkit-transform: scale(0.8);
transform: scale(0.8);
-webkit-transition: all 0.35s cubic-bezier(0.31, -0.105, 0.43, 1.59);
transition: all 0.35s cubic-bezier(0.31, -0.105, 0.43, 1.59);
}
.set_15_social-button.Vfacebook:before {
background-color: #3B5998;
}
.set_15_social-button.Vfacebook .fa {
color: #3B5998;
}
.set_15_social-button.Vtwitter:before {
background-color: #3CF;
}
.set_15_social-button.Vtwitter .fa {
color: #3CF;
}
.set_15_social-button.Vgoogle:before {
background-color: #DC4A38;
}
.set_15_social-button.Vgoogle .fa {
color: #DC4A38;
}
.set_15_social-button.Vdribbble:before {
background-color: #F26798;
}
.set_15_social-button.Vdribbble .fa {
color: #F26798;
}
.set_15_social-button.Vskype:before {
background-color: #00AFF0;
}
.set_15_social-button.Vskype .fa {
color: #00AFF0;
}
.set_15_social-button:focus:before, .set_15_social-button:hover:before {
top: -10%;
left: -10%;
}
.set_15_social-button:focus .fa, .set_15_social-button:hover .fa {
color: #fff;
-webkit-transform: scale(1);
transform: scale(1);
}