• Logo Sekolah Kami

    SMKN 5 Jember

  • Hasil memotret dengan cara panning

    Panning adalah memotret dengan menggerakkan kamera searah dengan arah gerakan obyek yang ingin dibidik sehingga obyek akan tampak fokus sementara background tampak kabur.

  • Gambar Susunan Pengkabelan Jaringan

    Ini adalah susunan Pengkabelan Straight (Kabel untuk LAN) dan Pengkabelan Cross (Kabel untuk peer to peer)

  • Blogger dan Wordpress

    Blogger dan Wordpress adalah salah satu media pembuatan Web

  • Hacker

    Hacker adalah

  • This is Slide 6 Title - NewBloggerThemes.com

    This is slide 6 description. Go to Edit HTML and find this content. Replace it your own description.

Sabtu, 02 Maret 2013

Posted by Unknown
No comments | 15.37

Contoh:

Transition Duration

Contoh:
transition duration
/* browser Mozilla Firefox */
a.transition {
 background: #9c3;
 padding: 8px 10px;
 -moz-transition-property: background;
 -moz-transition-duration: 1.5s;
 -moz-transition-timing-function: ease;
}
a.transition:hover {
 background: #690;
}
  
<a href="" class="transition">Transition</a>
  
Hasilnya:
CSS diatas haya support untuk browser Mozilla Firefox saja sedangkan untuk yang lainya menggunakan code masing-masing contohnya: Safari -webkit- , Opera -o- , Chrome -chrome-
-webkit-transition-property: background; /*Safari*/
-chrome-transition-property: background; /*Chrome*/
-moz-transition-property: background; /*Firefox*/
-o-transition-property: background; /*Opera*/
transition-property: background; /*support all*/

-webkit-transition-duration: 1.5s; /*Safari*/
-chorome-transition-duration: 1.5s; /*Chrome*/
-moz-transition-duration: 1.5s; /*Firefox*/
-o-transition-duration: 1.5s; /*Opera*/
transition-duration: 1.5s; /*support all*/

-webkit-transiton-timing-function: ease; /*Safari*/
-chrome-transiton-timing-function: ease; /*Chrome*/
-moz-transiton-timing-function: ease; /*Firefox*/
-o-transiton-timing-function: ease; /*Opera*/
transiton-timing-function: ease; /*support all*/
  

Transition Delay

Contoh:
transition delay
a#transition {
 background: #B1383E;
 color: #fff;
 padding: 8px 10px;
 text-decoration: none;
 -moz-transition-property: background;
 -moz-transition-duration: 0.3s;
 -moz-transition-timing-function: ease;
 -moz-transition-delay: 0.5s;
 border-radius: 10px;
 box-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}
a#transition:hover {
 background-color: #28C968;
}
  
<a href="" class="transition">Transition Delaying</a>
  
Hasilnya:

Transition Full

Contoh:
a.transition {
 background: #B1383E;
 padding: 8px 10px;
 font-weight: bold;
 color: #FFF;
 text-decoration: none;
 -webkit-transition: background 0.3s ease;
 -moz-transition: background 0.3s ease;
 -o-transition: background 0.3s ease;
 transition: background 0.3s ease;
 border-radius: 10px;
 box-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}
a.transition:hover {
 background: #28C968;
}
  
<a href="" class="transition">Transition</a>
  
Hasilnya:

Transition Properties

Contoh:
Linear
a.transiton {
 background: #B1383E;
 padding: 8px 10px;
 font-weight: bold;
 color: #FFF;
 text-decoration: none;
 -webkit-transition: background 0.5s ease, color 0.2s linear;
 -chrome-transition: background 0.5s ease, color 0.2s linear;
 -moz-transition: background 0.5s ease, color 0.2s linear;
 -o-transition: background 0.5s ease, color 0.2s linear;
 border-radius: 10px;
 box-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}
a.transition:hover {
 background: #28C968;
}
  
<a href="" class="transition">Transition background linear</a>
  
Hasilnya:

Transition All

Contoh:
a.transiton {
 background: #B1383E;
 padding: 8px 10px;
 font-weight: bold;
 color: #FFF;
 -webkit-transition: all 1.2s ease;
 -chrome-transition: all 1.2s ease;
 -moz-transition: all 1.2s ease;
 -o-transition: all 1.2s ease;
 transition: all 1.2s ease;
 border-radius: 10px;
 box-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}
a.transition:hover {
 background: #28C968;
}
  
<a href="" class="transition">All Transition</a>
  
Hasilnya:

0 komentar:

Posting Komentar

Blogroll

About