font-size: ....%;
Click the link below to open the tutorial!
Tutorial: CSS3 Text Resizer
Original tutorial by gubhug reyot
gubhug reyot
Energy Saving Mode using CSS3
Move your mouse to go back to the page!
Gerakkan mouse anda dan silahkan nikmati kembali posting kami!
Open/CloseClick here!
20 September 2010
<img style="display: block; margin: 0 auto; text-align: center; width: 200px; height: 300px;" src="http://img.theomegaproject.org/thumbs/2010/07/279.jpg" />
<style type="text/css">.centerimg-1 {
display: block;
margin: 0 auto;
text-align: center;
}
</style>
<img class="centerimg-1" src="http://img.theomegaproject.org/thumbs/2010/07/279.jpg" width="200" height="300"/>
<style type="text/css">.centerimg-2 {
display: block;
margin: 10px auto;
text-align: center;
}
</style>
<img class="centerimg-2" src="http://img.theomegaproject.org/thumbs/2010/07/279.jpg" width="200" height="300"/>
<style type="text/css">.centerimg-3 {
display: block;
margin: 60px auto;
text-align: center;
}
</style>
<img class="centerimg-3" src="http://img.theomegaproject.org/thumbs/2010/07/279.jpg" width="200" height="300"/>
<style type="text/css">.centerimg-4 {
display: block;
margin: 1.5em auto;
text-align: center;
}
</style>
<img class="centerimg-4" src="http://img.theomegaproject.org/thumbs/2010/07/279.jpg" width="200" height="300"/>
<style type="text/css">.centerimg-5 {
display: block;
margin: 2em auto;
text-align: center;
padding: 2px;
border: 5px solid #bbb;
}
</style>
<img class="centerimg-5" src="http://img.theomegaproject.org/thumbs/2010/07/279.jpg" width="200" height="300"/>
<style type="text/css">.centerimg-6 {
display: block;
margin: 15px auto;
text-align: center;
padding: 4px;
background: #990000;
border: 4px solid #9999CC;
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
}
</style>
<img class="centerimg-6" src="http://img.theomegaproject.org/thumbs/2010/07/279.jpg" width="200" height="300"/>
<style type="text/css">.centerimg-7 {
display: block;
margin: 20px auto;
text-align: center;
padding: 4px;
border: 4px solid #003399;
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
box-shadow: -1px -1px 2px #0099FF, 1px 1px 2px #0099FF, 0 0 20px #993300;
-moz-box-shadow: -1px -1px 2px #0099FF, 1px 1px 2px #0099FF, 0 0 20px #993300;
-webkit-box-shadow: -1px -1px 2px #0099FF, 1px 1px 2px #0099FF, 0 0 20px #993300;
}
</style>
<img class="centerimg-7" src="http://img.theomegaproject.org/thumbs/2010/07/279.jpg" width="200" height="300"/>
<style type="text/css">.centerimg-8 {
display: block;
margin: 25px auto;
text-align: center;
padding: 4px;
background: #990000;
border: 2px solid;
border-color: #0099FF #CCCC33 #CCCC33 #0099ff;
border-radius: 12px;
-moz-border-radius: 12px;
-webkit-border-radius: 12px;
}
</style>
<img class="centerimg-8" src="http://img.theomegaproject.org/thumbs/2010/07/279.jpg" width="200" height="300"/>
<style type="text/css">.centerimg-9 {
display: block;
margin: 30px auto;
text-align: center;
width: 300px;
height: 300px;
}
</style>
<img class="centerimg-9" src="http://img.theomegaproject.org/thumbs/2010/07/279.jpg" />
N o t e :
<div style="float: left; font-size: 14px; color: green; border: 2px solid red; padding: 10px; margin: 0 10px 10px 0;">
When you use HTML code to display the image, it would be better if included extra code in the form of clear: both (especially if it contained the html code in the form of float-float-left or right). You can put clear: both under the tag that uses a float or float-left-right.
<img src="http://img.theomegaproject.org/thumbs/2010/07/329.jpg" width="400" height="300" />
When you use HTML code to display the image, it would be better if included extra code in the form of clear: both (especially if it contained the html code in the form of float-float-left or right). You can put clear: both under the tag that uses a float or float-left-right.
</div>
<div style="clear:both;"></div>
<img class="centerimg-7" src="http://img.theomegaproject.org/thumbs/2010/07/279.jpg" width="200" height="300"/>
gubhug reyot
Place mouse over here!
gubhug reyot
Place mouse over here!
<style type="text/css">
.timingfunctiontransformdelay-1a {
margin: 20px auto;
width: 300px;
height: 110px;
background: red;
-o-transition-property: width, height, background-color;
-o-transition-duration: 0.3s, 1.1s, 1s;
-o-transition-timing-function: ease-out, ease-in-out, linear;
-o-transition-delay: 300ms, 900ms, 2500ms;
-moz-transition-property: width, height, background;
-moz-transition-duration: 0.3s, 1.1s, 1s;
-moz-transition-timing-function: ease-out, ease-in-out, linear;
-moz-transition-delay: 300ms, 900ms, 2500ms;
-webkit-transition-property: width, height, background-color;
-webkit-transition-duration: 0.3s, 1.1s, 1s;
-webkit-transition-timing-function: ease-out, ease-in-out, linear;
-webkit-transition-delay: 300ms, 900ms, 2500ms;
}
.timingfunctiontransformdelay-1a:hover {
width: 400px;
height: 300px;
background: #009900;
}
</style>
<div class="timingfunctiontransformdelay-1a"><p style="text-align:center;color: white; padding: 10px; font-size: 22px;">gubhug reyot<br /><br />Place mouse over here!</p>
</div>
<style type="text/css">
.timingfunctiontransformdelay-1b {
margin: 20px auto;
width: 300px;
height: 110px;
background: red;
-o-transition: width 0.3s ease-out 0.3s, height 1.1s ease-in-out 0.9s, background-color 1s linear 2.5s;
-moz-transition: width 0.3s ease-out 0.3s, height 1.1s ease-in-out 0.9s, background 1s linear 2.5s;
-webkit-transition: width 0.3s ease-out 0.3s, height 1.1s ease-in-out 0.9s, background 1s linear 2.5s;
}
.timingfunctiontransformdelay-1b:hover {
width: 400px;
height: 300px;
background: #009900;
}
</style>
<div class="timingfunctiontransformdelay-1b"><p style="text-align:center;color: white; padding: 10px; font-size: 22px;">gubhug reyot<br /><br />Place mouse over here!</p>
</div>
gubhug reyot
Place mouse over here!
<style type="text/css">
.timingfunctiontransformdelay-2 {
margin: 20px auto;
width: 300px;
height: 110px;
opacity: 0.4;
background: #FF00FF;
border: 2px solid blue;
border-radius: 15px;
-moz-border-radius: 15px;
-webkit-border-radius: 15px;
-o-transition: width 1s ease-out 0.6s, height 1s ease-in-out 1.8s, background-color 1s linear 2s, opacity 2s ease-in-out 4s;
-moz-transition: width 1s ease-out 0.6s, height 1s ease-in-out 1.8s, background 1s linear 2s, opacity 2s ease-in-out 4s;
-webkit-transition: width 1s ease-out 0.6s, height 1s ease-in-out 1.8s, background 1s linear 2s, opacity 2s ease-in-out 4s;
}
.timingfunctiontransformdelay-2:hover {
width: 400px;
height: 300px;
background: #009900;
opacity: 1.0;
background: #FF6600;
-o-transition: background-color 1s linear 0.4s, height 0.3s ease 1.8s, width 2s ease-out 3s, opacity 2s ease-in 5s;
-moz-transition: background-color 1s linear 0.4s, height 0.3s ease 1.8s, width 2s ease-out 3s, opacity 2s ease-in 5s;
-webkit-transition: background-color 1s linear 0.4s, height 0.3s 1.8s, width 2s ease-out 3s, opacity 2s ease-in 5s;
}
</style>
<div class="timingfunctiontransformdelay-2"><p style="text-align:center;color: white; padding: 10px; font-size: 22px;">gubhug reyot<br />Place mouse over here!</p>
</div>
gubhug reyot
Place mouse over here!<style type="text/css">
.transitiontransformdelay-1 {
width: 100px;
height: 100px;
opacity: 0.5;
box-shadow: 1px 1px 15px #000;
-moz-box-shadow: 1px 1px 15px #000;
-webkit-box-shadow: 1px 1px 15px #000;
border: 2px solid black;
background: red;
margin: 100px auto;
border-radius: 20px;
-moz-border-radius: 20px;
-webkit-border-radius: 20px;
font: 14px Serif;
font-weight: bold;
text-shadow: 1px 1px 1px #000;
text-align: center;
color: white;
-o-transition-property: opacity, width, height, -o-transform, background-color;
-o-transition-duration: 2s, 1.5s, 3s, 2s, 2s;
-o-transition-delay: 0.5s, 1s, 2s, 3s, 5s;
-moz-transition-property: -moz-border-radius, border, opacity, width, height, -moz-transform, background;
-moz-transition-duration: 2s, 1s, 2s, 1.5s, 3s, 2s, 2s;
-moz-transition-delay: 300ms, 1s, 0.5s, 2s, 3s, 5s, 6s;
-webkit-transition-property: -webkit-border-radius, border, opacity, width, height, -webkit-transform, background;
-webkit-transition-duration: 2s, 1s, 2s, 1.5s, 3s, 2s, 2s;
-webkit-transition-delay: 300ms, 1s, 0.5s, 2s, 3s, 5s, 6s;
}
.transitiontransformdelay-1 p {
opacity: 0;
font: 8px Times;
color: orange;
text-shadow: -2px -2px 2px #000, 2px 2px 2px #000, 4px 4px 7px #eee;
-o-transition: 1s ease-in 0.3s;
-moz-transition: 2s ease-in 1s;
-webkit-transition: 2s ease-in 1s;
text-align: center;
}
.transitiontransformdelay-1:hover {
width: 300px;
height: 200px;
border: 20px solid green;
background: blue;
opacity: 1.0;
border-radius: 60px;
-moz-border-radius: 60px;
-webkit-border-radius: 60px;
-o-transform: translate(50px, 60px) rotate(730deg) scale(1.2);
-moz-transform: translate(50px, 60px) rotate(730deg) scale(1.2);
-webkit-transform: translate(50px, 60px) rotate(730deg) scale(1.2);
}
.transitiontransformdelay-1:hover p {
opacity: 1.0;
font-size: 50px;
font-weight: bold;
color: yellow;
-o-transition: all 2s ease-in 5s;
-moz-transition: all 2s ease-in 7s;
-webkit-transition: all 2s ease-in 7s;
}
</style>
<div class="transitiontransformdelay-1"><p>gubhug reyot</p>Place mouse over here!</div>
gubhug reyot
Place mouse over here!<style type="text/css">
.transitiontransformdelay-2 {
width: 100px;
height: 100px;
opacity: 0.5;
box-shadow: 1px 1px 15px #000;
-moz-box-shadow: 1px 1px 15px #000;
-webkit-box-shadow: 1px 1px 15px #000;
border: 2px solid black;
background: red;
margin: 100px auto;
border-radius: 20px;
-moz-border-radius: 20px;
-webkit-border-radius: 20px;
font: 14px Serif;
font-weight: bold;
text-shadow: 1px 1px 1px #000;
text-align: center;
color: white;
-o-transition: opacity 2s 0.5s, width 1.5s 1s, height 3s 2s, -o-transform 2s 3s, background-color 2s 5s;
-moz-transition: -moz-border-radius 2s 0.3s, border 1s 1s, opacity 2s 0.5s, width 1.5s 2s, height 3s 3s, -moz-transform 2s 5s, background 2s 6s;
-webkit-transition: -webkit-border-radius 2s 0.3s, border 1s 1s, opacity 2s 0.5s, width 1.5s 2s, height 3s 3s, -webkit-transform 2s 5s, background 2s 6s;
}
.transitiontransformdelay-2 p {
opacity: 0;
font: 8px Times;
color: orange;
text-shadow: -2px -2px 2px #000, 2px 2px 2px #000, 4px 4px 7px #eee;
-o-transition: 1s ease-in 0.3s;
-moz-transition: 2s ease-in 1s;
-webkit-transition: 2s ease-in 1s;
text-align: center;
}
.transitiontransformdelay-2:hover {
width: 300px;
height: 200px;
border: 20px solid green;
background: blue;
opacity: 1.0;
border-radius: 60px;
-moz-border-radius: 60px;
-webkit-border-radius: 60px;
-o-transform: translate(50px, 60px) rotate(730deg) scale(1.2);
-moz-transform: translate(50px, 60px) rotate(730deg) scale(1.2);
-webkit-transform: translate(50px, 60px) rotate(730deg) scale(1.2);
}
.transitiontransformdelay-2:hover p {
opacity: 1.0;
font-size: 50px;
font-weight: bold;
color: yellow;
-o-transition: all 2s ease-in 5s;
-moz-transition: all 2s ease-in 7s;
-webkit-transition: all 2s ease-in 7s;
}
</style>
<div class="transitiontransformdelay-2"><p>gubhug reyot</p>Place mouse over here!</div>
gubhug reyot
<style type="text/css">
.wadahe {
height: 298px;
width: 445px;
border: 2px solid #555;
margin: 20px auto;
}
.wadahe .transitiontransformdelay-3 {
width: 100px;
height: 150px;
background: #000;
opacity: 0.6;
margin: 100px auto;
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
-o-transform: scale(1) rotate(-20deg) translate(0px, 0px);
-moz-transform: scale(1) rotate(-20deg) translate(0px, 0px);
-webkit-transform: scale(1) rotate(-20deg) translate(0px, 0px);
-o-transition: background-color 2s ease 4s, opacity 2s ease-in 1s, -o-transform 3s ease-out 1.5s, color 2s linear 5s;
-moz-transition: background 2s ease 4s, opacity 3s ease-in 2s, -moz-transform 3s ease-out 1.5s, color 2s linear 6s;
-webkit-transition: background 2s ease 4s, opacity 3s ease-in 2s, -webkit-transform 3s ease-out 1.5s, color 2s linear 6s;
font: 14px Times New Roman;
font-weight: bold;
color: green;
text-shadow: 3px 3px 7px #999;
text-align: center;
}
.transitiontransformdelay-3 p{
opacity: 0;
font: 8px Times;
color: orange;
text-shadow: -2px -2px 2px #000, 2px 2px 2px #000, 4px 4px 7px #eee;
-o-transition: 1s ease-in 0.3s;
-moz-transition: 2s ease-in 1s;
-webkit-transition: 2s ease-in 1s;
text-align: center;
}
.wadahe:hover .transitiontransformdelay-3 {
background: blue;
opacity: 1.0;
-o-transform: scale(4.5, 2) rotate(1440deg) translate(0px, -13px);
-moz-transform: scale(4.5, 2) rotate(1440deg) translate(0px, -13px);
-webkit-transform: scale(4.5, 2) rotate(1440deg) translate(0px, -13px);
color: #CCFF00;
}
.wadahe .transitiontransformdelay-3 p img {
height: 10px;
width: 10px;
}
.wadahe:hover .transitiontransformdelay-3 p img {
height: 90px;
width: 30px;
}
.transitiontransformdelay-3:hover p {
opacity: 1.0;
font-weight: bold;
color: yellow;
-o-transition: all 2s ease-in 5s;
-moz-transition: all 2s ease-in 5s;
-webkit-transition: all 2s ease-in 5s;
}
</style>
<div class="wadahe">
<div class="transitiontransformdelay-3"><p>gubhug reyot<br /><img style="display:block;text-align:center;margin:0 auto;" src="http://img.theomegaproject.org/thumbs/2010/07/281.jpg" /></p>Place mouse over here!</div>
</div>
Dimitar Berbatov's rejuvenation continued as his brilliant hat-trick gave Manchester United a fully deserved win against Liverpool at Old Trafford.
The Bulgarian striker scored either side of the interval - the second a stunning overhead kick - to put Sir Alex Ferguson's side in complete control against a subdued Liverpool.
Dimitar Berbatov's rejuvenation continued as his brilliant hat-trick gave Manchester United a fully deserved win against Liverpool at Old Trafford.
The Bulgarian striker scored either side of the interval - the second a stunning overhead kick - to put Sir Alex Ferguson's side in complete control against a subdued Liverpool.
Expand - collapseClick here!
Chelsea brushed aside Blackpool to extend their lead at the top of the Premier League to four points.
Salomon Kalou tapped home from a corner in the second minute before Florent Malouda struck from short range.
Didier Drogba's deflected strike made it 3-0 before Malouda scored his second with a low shot just before the break.
Petr Cech denied Alex Baptiste and in a much better second-half display the keeper saved a Gary Taylor-Fletcher shot with DJ Campbell also going close.
After the break Blackpool had an even share of the opportunities, but the game was already beyond the visitors by then.
Description: This CSS3 collapses any DIV on the page and lets users manually toggle its appearance via a smooth animation. It's a popular effect on many social networking.
Persistence can be enabled on each collapsible content individually that will remember if the DIV has been expanded, and upon the user's return to the page within the same browser session, keep it expanded.
Ability to "group" multiple collapsible content instances to act as a single unit, so opening one closes the others.
Persistence can be enabled on each collapsible content individually that will remember if the DIV has been expanded, and upon the user's return to the page within the same browser session, keep it expanded.
Individually toggle various attributes of each collapsible content, whether a fade effect should be applied, the duration of the animation, an explicit height, plus whether the content should be hidden via scripting by default when the page loads.
Sentuhkan cursor pada gambar disamping! Dengan menggunakan posting gambar seperti disamping, maka kita tidak perlu menampilkan gambar dalam ukuran bear yang terlalu banyak menyita halaman posting. Cukup tampilkan dalam bentuk seperti ini, maka gambar bisa dilihat dalam ukuran besar hanya dengan membawa cursor di atas gambar.
Menampilkan posting yang disertai gambar dalam bentuk seperti ini tentunya akan membuat blog bertambah menarik. Jangan kuwatir tentang penggunaan kode. menambah fungsi seperti ini sangat mudah karena hanya perlu menggunakan beberapa kode CSS sebagai pembangun fungsi, serta beberapa kode HTML untuk posting. Sangat simple dan mudah dilakukan siapapun, bahkan pemula sekalipun.
Mungkinkah ukuran gambar diperbesar atau diperkecil?
Anda dapat melakukannya dengan merubah kode CSS yang berkaitan dengan width untuk disesuaikan dengan lebar halaman posting. Ukuran 400px disini hanya dilakukan dengan pertimbangan banyak blogger yang menggunakan halaman posting dengan ukuran berkisar 400px. Bila anda menggunakan halaman yang lebih besar, silahkan untuk sedikit melakukan perubahan width pada syntax di kode CSSnya.