Metro UI Social Profile and Search Box with Zoom & Glow Effects Widget v1.1 For Blogger
You may have Seen Many CSS3 Widgets in my before Posts of my blog.. If you are new to my blog . you can have a look at my before posts.. And also subscribe for Much More Latest Updates.. Before Posts of CSS3 Category was not made by my own but shared it so that it will be helpful to you all..
I am here to share My First Attempt In Making Widgets Using CSS3 & HTML.. Hope you all like it and also thinking to update it using much more effects lately..
Here is a Live Demo : Make Sure That the Images Loads completely..
How to Add Animated Metro UI Profile Search+Zoom Into Your Blog ??
- Go to Blogger and go to your blog..
- Now go to Layout in Left side of your Blogger Dashboard..
- Now click on Add Gadget and Choose HTML/JavaScript..
- Now paste the Below Set of codes in it..
<style>
.mjn-metro-social
{
width:300px;
}
.mjn-metro-social li
{
position:relative;
cursor:pointer;
padding:0;
list-style:none;
}
.mjn-metro-social .fb,.tw,.gp,.pi,.in,.yt,.fd
{
z-index:7;
float:left;
margin:2.5px;
position:relative;
display:block;
}
.mjn-metro-social .tw
{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGNemyS2O-UFt7Pr0WlFwILoSMGvLeWnYzWLiqqa46TRKHxXR2rd0mubQYWmMSffpUEIP_wTHOW-OtftQe0XRRjv20uS43XJBoZRXskFHicYR4aakW9da-mOM2qhR4wZ1niw2qwfkBsmQ/h120/twitter-bird-dark-bgs.png) no-repeat center center #43b3e5;
width:70px;
height:70px;
-webkit-transition: box-shadow .3s linear, background .2s linear;
-moz-transition: box-shadow .3s linear, background .2s linear;
-ms-transition: box-shadow .3s linear, background .2s linear;
-o-transition: box-shadow .3s linear, background .2s linear;
transition: box-shadow .3s linear, background .2s linear;
}
.mjn-metro-social .fb
{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGr73BI0VzWT-MJsx6uvHFdEGrle3VDfngjsBg8wmmj3uzqrRq1m6zEKesBLccX3sVKiktUry-EEnQBOz2yMe_U8YLptn4gvBKA1AoC2wL4FOH2-rB_ngcQKqBMY9g2Nn2BZGaN19NxGk/h120/facebookf.png.png) no-repeat center center #1f69b3;
width:70px;
height:70px;
-webkit-transition: box-shadow .3s linear, background .2s linear;
-moz-transition: box-shadow .3s linear, background .2s linear;
-ms-transition: box-shadow .3s linear, background .2s linear;
-o-transition: box-shadow .3s linear, background .2s linear;
transition: box-shadow .3s linear, background .2s linear;
}
.mjn-metro-social .gp
{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMqawrtLj1VRegjrw7YF9Q9aH_vgd_3QeLixiFA_k6zYZSKLEBavCd9joMFZSg8RjaMkRBXrRWL2cwHkdOfKqoB04QHfKFu2JjXVS4pXSOzmo4iXfnNHX5ByzRjod72CiuiVaYw79kmo0/h120/google+plus.png) no-repeat center center #da4a38;
width:70px;
height:70px;
-webkit-transition: box-shadow .3s linear, background .2s linear;
-moz-transition: box-shadow .3s linear, background .2s linear;
-ms-transition: box-shadow .3s linear, background .2s linear;
-o-transition: box-shadow .3s linear, background .2s linear;
transition: box-shadow .3s linear, background .2s linear;
}
.mjn-metro-social .fd
{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTy8AV7JXJ5rzaIjqQ2Rlq75wDPPyINIKgAzIGfxSdWtpbqC9vHHMpS9rbglEjust-43iAcVH6IIrKmg18WykMgLL3UteW0X-V0yGUx3ympsNiXE4OrJ03skX1MsMlnU9Phe_PyguJnbY/h120/feed.png) no-repeat center center #e9a01c;
width:70px;
height:70px;
-webkit-transition: box-shadow .3s linear, background .2s linear;
-moz-transition: box-shadow .3s linear, background .2s linear;
-ms-transition: box-shadow .3s linear, background .2s linear;
-o-transition: box-shadow .3s linear, background .2s linear;
transition: box-shadow .3s linear, background .2s linear;
}
.mjn-metro-social li:hover .fb
{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHr3Xbydslo_udL7Hqp9Gh-XwT8IkTrAlUumRTpRm96skrtVzkSo-SKorXskdhY2ZmUlPmdftI0WvpV3F973NfhhJi7Vcm-Fz3zikjCzqxUsz2Y3P3EP2F-6JNuRv401eYWMA5eBTSp1k/h120/facebookfh.png) no-repeat center center #1f69b3;
box-shadow:0px 0px 6px 3px #217BC0;
-webkit-box-shadow:0px 0px 6px 3px #217BC0;
-moz-box-shadow:0px 0px 6px 3px #217BC0;
-o-box-shadow:0px 0px 6px 3px #217BC0;
-ms-box-shadow:0px 0px 6px 3px #217BC0;
}
.mjn-metro-social li:hover .tw
{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDWS5SSYghAew-5WD_RD9PuOp3_G5SBC2zq5-VfqLR5yM0epkfTrJDnIwPqYugIOw-Za8on0lVCTZfpXmkSMxOIJxbZZadY07aIrOjkydPnM9xqbjZoncT964rh4uRNJ7ysjAe06GQ5GI/h120/twitter-bird-dark-bgsx.png) no-repeat center center #43b3e5;
box-shadow:0px 0px 6px 3px #38D1F7;
-webkit-box-shadow:0px 0px 6px 3px #38D1F7;
-moz-box-shadow:0px 0px 6px 3px #38D1F7;
-o-box-shadow:0px 0px 6px 3px #38D1F7;
-ms-box-shadow:0px 0px 6px 3px #38D1F7;
}
.mjn-metro-social li:hover .gp
{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCigHUigCOKeboVV0l6CKZMOu5NcDawF0hSfbZCJa-DQZAjeDJqoJy_8czXvzgGeNuHZzknNB2q8laPZnp6XYLxMjewGZLy_wFxeB5teA3bJvJ3_0ocCeNwZrYAUTX444eMTxsVYNffvE/h120/google+plush.png) no-repeat center center #da4a38;
box-shadow:0px 0px 6px 3px #F43431;
-webkit-box-shadow:0px 0px 6px 3px #F43431;
-moz-box-shadow:0px 0px 6px 3px #F43431;
-o-box-shadow:0px 0px 6px 3px #F43431;
-ms-box-shadow:0px 0px 6px 3px #F43431;
}
.mjn-metro-social li:hover .fd
{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSWgiKbPFDLVdTmz7xHUXCqA0pmij9JoYy3UrusJlTmnzR789QZk2hyphenhyphenT5hc-tjFfmwb0gc_vKqzgEqUI_dPmc3L4hErb1__7ZM4C6tV6q7j0OW1jU4OWdvUy1IT8fcFy2eXKJN3jCpgl4/h120/feedh.png) no-repeat center center #e9a01c;
box-shadow:0px 0px 6px 3px #e9a01c;
-webkit-box-shadow:0px 0px 6px 3px #e9a01c;
-moz-box-shadow:0px 0px 6px 3px #e9a01c;
-o-box-shadow:0px 0px 6px 3px #e9a01c;
-ms-box-shadow:0px 0px 6px 3px #e9a01c;
}
.cf:before, .cf:after{
content:"";
display:table;
}
.cf:after{
clear:both;
}
.cf{
zoom:1;
}
/* Form wrapper styling */
.form-wrapper {
width: 280px;
}
/* Form text input */
.form-wrapper input {
width: 215px;
height: 20px;
padding: 10px 5px;
float: left;
font: bold 12px 'lucida sans', 'trebuchet MS', 'Tahoma';
border: 0;
box-shadow: 0 0 6px rgba(0,0,0,.3) inset;
webkit-transition: box-shadow .3s linear, background .2s linear;
-moz-transition: box-shadow .3s linear, background .2s linear;
-ms-transition: box-shadow .3s linear, background .2s linear;
-o-transition: box-shadow .3s linear, background .2s linear;
transition: box-shadow .3s linear, background .2s linear;
}
.form-wrapper input:focus {
outline: 0;
background: #fff;
border-color: #51a7e8;
box-shadow: 0 0 2px rgba(0,0,0,.8) inset;
}
.form-wrapper input::-webkit-input-placeholder {
color: #999;
font-weight: normal;
font-style: italic;
}
.form-wrapper input:-moz-placeholder {
color: #999;
font-weight: normal;
font-style: italic;
}
.form-wrapper input:-ms-input-placeholder {
color: #999;
font-weight: normal;
font-style: italic;
}
/* Form submit button */
.form-wrapper button {
overflow: visible;
position: relative;
float: right;
border: 0;
padding: 0;
cursor: pointer;
height: 40px;
width: 75px;
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMfjTp7GNAnpZ6_W7n3tjfbggTw74ibMc15bQpqQtkeMblp-8zEU2icX0Kwy0mgzaZs_L9Vo2H7he57qQm3gf7geLadOojaBtZErHuldwgnjn61ULma_CmVzVX56YFeR6E3z0M6aHlgKo/h120/1367665345_search.png) no-repeat center center #26B11E;
border-radius: 0 0 0 0;
text-shadow: 0 -1px 0 rgba(0, 0 ,0, .3);
webkit-transition: box-shadow .3s linear, background .2s linear;
-moz-transition: box-shadow .3s linear, background .2s linear;
-ms-transition: box-shadow .3s linear, background .2s linear;
-o-transition: box-shadow .3s linear, background .2s linear;
transition: box-shadow .3s linear, background .2s linear;
}
.form-wrapper button:hover{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMfjTp7GNAnpZ6_W7n3tjfbggTw74ibMc15bQpqQtkeMblp-8zEU2icX0Kwy0mgzaZs_L9Vo2H7he57qQm3gf7geLadOojaBtZErHuldwgnjn61ULma_CmVzVX56YFeR6E3z0M6aHlgKo/h120/1367665345_search.png) no-repeat center center #26B11E;
box-shadow:0px 0px 6px 3px #44D816;
-webkit-box-shadow:0px 0px 6px 3px #44D816;
-moz-box-shadow:0px 0px 6px 3px #44D816;
-o-box-shadow:0px 0px 6px 3px #44D816;
-ms-box-shadow:0px 0px 6px 3px #44D816;
}
.form-wrapper button:active,
.form-wrapper button:focus{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMfjTp7GNAnpZ6_W7n3tjfbggTw74ibMc15bQpqQtkeMblp-8zEU2icX0Kwy0mgzaZs_L9Vo2H7he57qQm3gf7geLadOojaBtZErHuldwgnjn61ULma_CmVzVX56YFeR6E3z0M6aHlgKo/h120/1367665345_search.png) no-repeat center center #26B11E;
outline: 0;
}
.form-wrapper button:before { /* left arrow */
content: '';
position: absolute;
border-width: 8px 8px 8px 0;
border-style: solid solid solid none;
border-color: transparent #26B11E transparent;
top: 12px;
left: -6px;
}
.form-wrapper button:hover:before{
border-right-color: #26B11E;
}
.form-wrapper button:focus:before,
.form-wrapper button:active:before{
border-right-color: #26B11E;
}
.form-wrapper button::-moz-focus-inner { /* remove extra button spacing for Mozilla Firefox */
border: 0;
padding: 0;
}
</style>
<div class="mjn-metro-social">
<li><a class="fb" href="http://www.facebook.com/yourlink"></a></li>
<li><a class="tw" href="http://twitter.com/yourlink"></a></li>
<li><a class="gp" href="https://plus.google.com/123456789"></a></li>
<li><a class="fd" href="http://feeds.feedburner.com/yourfeedlink"></a></li>
<form action="/search" class="form-wrapper cf" id="searchthis" method="get" style="display: inline;">
<input id="form-wrapper input" name="q" placeholder=" Search here.. " required="" type="text" />
<button type="submit"></button>
</form><br />
- Now click save..That's it ..all Done!!
Customization :
- Now Replace Links Text Highlighted in Color Facebook,Twitter,Google+,RSS with your Link..
- In some templates search box may not fit..so to change Height and Width Edit the Text Highlighted in Green Color..
0 comments:
Post a Comment