728x90 AdSpace

Latest News

12 Oktober 2013

Kotak cs3 dengan efek slide up hover

Demo:



Tajuk
Penerangan disini


Snapshot:

1.Login ke akaun blogger anda.
2.Pastekan kod html ini di ruangan pos atau HTML/Javascript di layout

<style>
.slide-up-boxes a {
display: block;
height: 130px;
margin: 0 0 20px 0;
background: rgba(215, 215, 215, 0.5);
border: 1px solid #ccc;
height: 65px;
overflow: hidden;
}

.slide-up-boxes h5 {
color: #333;
text-align: center;
height: 65px;
font: italic 18px Georgia, Serif;
opacity: 1;
-webkit-transition: all 0.2s linear;
-moz-transition: all 0.2s linear;
-o-transition: all 0.2s linear;
}

.slide-up-boxes a:hover h5 {
margin-top: -65px;
opacity: 0;
}

.slide-up-boxes div {
position: relative;
color: white;
font: 12px/15px Georgia, Serif;
height: 45px;
padding: 10px;
opacity: 0;
-webkit-transform: rotate(6deg);
-webkit-transition: all 0.4s linear;
-moz-transform: rotate(6deg);
-moz-transition: all 0.4s linear;
-o-transform: rotate(6deg);
-o-transition: all 0.4s linear;
}
.slide-up-boxes a:hover div {
opacity: 1;
-webkit-transform: rotate(0);
-moz-transform: rotate(0);
-o-transform: rotate(0);
}
.slide-up-boxes a:nth-child(1) div { background: #c73b1b url(http://3.bp.blogspot.com/-42TKEsLwsgI/UlhEUO7AuhI/AAAAAAAAEao/KD7WVhyjZeE/s1600/index.jpg) 17px 17px no-repeat; padding-left: 120px; }
.slide-up-boxes a:nth-child(2) div { background: #367db2 url(http://2.bp.blogspot.com/-wVlam_gB27A/UlhFXKueUrI/AAAAAAAAEaw/MYqMfV1TDiI/s1600/blog.png) 21px 10px no-repeat; padding-left: 90px; }
.slide-up-boxes a:nth-child(3) div { background: #393838 url(http://1.bp.blogspot.com/-MKicg3G2-28/UlhFlQba6-I/AAAAAAAAEa4/sK2B3gjlXCs/s1600/f.png) 14px 16px no-repeat; padding-left: 133px; }
</style>

<section class="slide-up-boxes">
<a href="#">
<h5>Tajuk 1</h5>
<div>Penerangan disini</div>
</a>

<a href="#">
<h5>Tajuk 2</h5>
<div>Penerangan disini</div>
</a>

<a href="#">
<h5>Tajuk 3</h5>
<div>Penerangan disini</div>
</a>
</section>
Kotak cs3 dengan efek slide up hover
  • Blogger Comments
  • Facebook Comments

0 ulasan:

Catat Ulasan

Top