Salam sobat,gimana kabarnya....? kita jumpa lagi,sebelumnya saya sudah banyak membahas tentang tentang tampilan button dengan CSS,kini saya coba buat artikel tentang cara membuat tampilan box email dengan hover style,terdapat lima social box yang bisa sobat gunakan sebagi petunjuk halaman buku.Buat sobat yang ingin mencobanya silahkan ikuti tutorialnya karena ini sangat mudah.
1. Login dulu ke blog sobat.
2. Pilih Tata letak > Add Gadget.
3. Pilih HTML/Javascript.
4. Pastekan kode di bawah pada kolom konten.
<style>
.tbisubscribe {
border: 1px solid #D3D3D3;
padding: 8px;
width: 300px;
-webkit-transition: all 0.5s ease-in-out;
-moz-transition: all 0.5s ease-in-out;
-ms-transition: all 0.5s ease-in-out;
-o-transition: all 0.5s ease-in-out;
transition: all 0.5s ease-in-out;
}
.tbisubscribe:hover {
-moz-box-shadow: inset 1px 1px 10px 1px rgba(249, 215, 126, 1);
-webkit-box-shadow: inset 1px 1px 10px 1px rgba(249, 215, 126, 1);
box-shadow: inset 1px 1px 10px 1px rgba(249, 215, 126, 1);
}
.tbimailbox {
border: 1px solid #D3D3D3;
-webkit-border-radius: 4px;
border-radius: 4px;
-moz-box-shadow: 1px 1px 1px 1px rgba(255, 172, 84, 0.4) inset;
-webkit-box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.4) inset;
box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.4) inset;
color: #666;
font: 14px "trebuchet ms", sans-serif;
padding: 7px 15px;
width: 160px;
-webkit-transition: all 0.5s ease-in-out;
-moz-transition: all 0.5s ease-in-out;
-ms-transition: all 0.5s ease-in-out;
-o-transition: all 0.5s ease-in-out;
transition: all 0.5s ease-in-out;
}
.tbimailbox:hover {
-webkit-box-shadow: none;
box-shadow: none;
-webkit-transition: all 0.5s ease-in-out;
-moz-transition: all 0.5s ease-in-out;
-ms-transition: all 0.5s ease-in-out;
-o-transition: all 0.5s ease-in-out;
transition: all 0.5s ease-in-out;
}
.tbisubmit {
font: bold 12px Tahoma, Geneva, sans-serif;
font-style: normal;
color: #ffffff;
background: #ff5714;
border: 0px solid #ffffff;
text-shadow: 0px -1px 1px #222222;
box-shadow: 2px 2px 5px #000000;
-moz-box-shadow: 2px 2px 5px #000000;
-webkit-box-shadow: 2px 2px 5px #000000;
border-radius: 10px 10px 10px 10px;
-moz-border-radius: 10px 10px 10px 10px;
-webkit-border-radius: 10px 10px 10px 10px;
padding: 8px 15px;
cursor: pointer;
margin: 0 auto;
}
.tbisubmit:active {
cursor: pointer;
position: relative;
top: 2px;
}
.tbisubmit::-moz-focus-inner {
border: 0;
padding: 0;
margin: 0;
}
</style>
<link href='http://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css' />
<div class='tbisubscribe'>
<div style='color: #666666; font-weight: bold; font: 22px Oswald, cursive; margin: 0px 0px 10px 15px;'>Get Free Updates in your Inbox</div>
<div style='margin: 10px 0 0 6px;'>
<form action='http://feedburner.google.com/fb/a/mailverify' class='emailform'
method='post' onsubmit='window.open('http://feedburner.google.com/fb/a/mailverify?uri=hansmjlkcommunity', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true'
style='margin: 0pt;' target='popupwindow'>
<input name='uri' type='hidden' value='hansmjlkcommunity' />
<input name='loc' type='hidden' value='en_US' />
<input class='tbimailbox' name='email' onblur='if (this.value == "") {this.value = "Enter your email...";}'
onfocus='if (this.value == "Enter your email...") {this.value = ""}'
type='text' value='Enter your email...' />
<input alt='' class='tbisubmit' title='' type='submit' value='Subscribe'/>
</form>
</div>
<div style='border: none; color: #666666; font: 22px Oswald, cursive; margin: 25px 0 0 5px;'>Follow us on:</div>
<div style='margin: -32px 0 0 120px;'>
<a href='FACEBOOK URL' target='_blank' title='Join us on Facebook'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEic9Hx8c3J2K8TfMDX-RWXCczhmMr2gcMHnyJ6veTedrCqc2WT8HtItcgMUGGIDFAgocO7vDU3ojPr8ZVGugip9fgpVl9hetrGPc-kUCRnFrTSn6eMF6Sa06OFC61lOzee-aMS8qL2-HhQ/s1600/facebook500.png' alt='facebook'/></a>
<a href='TWITTER URL Sobat' rel='nofollow' target='_blank'
title='Follow us on Twitter'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEbUl6-ywAiwKfx6NyUDD6rtUFHnIBzj-sg03djbDTp1qwUqg1W2NPT42MEy-1uuQ0KkV8FXdj0zs9S1Aea2ZS3yxsD8G3mVRlfW7ckFKLFPQIbL3_dU5nmx1lpEVzKxQFz4t-JM-MBnw/s1600/twitter.png' alt='twitter'/></a>
<a href='GOOGLE+ URL Sobat' rel='nofollow' target='_blank'
title='Follow us on Google+'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJcrqru4wlQ6UBgwM3LbBBs4Ss4bBr2mDrI8acnqYp60UGRUkJmDJQeqzF_S6q21dz8n9nyih12Xcr-35MajWY6-kZCxYv5FlSgdv1WuAiwZuv2Eg47getvvBuITet5ct2vHB6lW3QaMw/s1600/googleplus-revised.png' alt='gplus'/></a>
<a href='PINTEREST URL Sobat' rel='nofollow' target='_blank'
title='Follow us on Pinterest'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5zn5CBlWKFXHV3cF8wNG0WGClxSbdW2SNmVjPYpEJfWXg9m8MVKF8ndDC4VqZgtnfecHas4NGmdw0Za4uZUf4TijTICmkA5HwCnRk9WFh7cg0KZF2Vg7SHYMIADZyll_DtGVp-WQHG-Y/s1600/pinterest.png' alt='pinterest'/></a>
<a href='RSS URL Sobat' rel='nofollow' target='_blank'
title='Subscribe to RSS'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYz4kIpbQ_9UVeGgwzchGKM89_tIrEtX7TaZNqWKji6b0oluLc-NDilkGRPYjXmp-3BBo3IBQkVFEpjFRpQ72M0Uc3V91wKXZJv2yl7bpGSnZ1HoZQ_nbT60y8pc91dW38vEihKn7jt2o/s1600/rss.png' alt='rss'/></a>
</div>
</div>
Keterangan:
Untuk tulisan yang berwarna Hijau bisa sobat ganti dengan nama sobat.
Untuk tulisan yang berwarna Merah Silahkan ganti dengan URL yang di tuju.
Setelah semuanya beres kemudian save,dan silahkanlihat hasilnya.
0 komentar:
Posting Komentar
Saya sangat mengharapkan komentarnya yang bersipat membangun,dan gunakanlah bahasa yang sopan dan jelas.