Password = 1234
Animated CSS3 Metro UI Drop Down Menu With Sliding Tiles Effect v1.1
I have Posted My First Two Creation Using CSS3 Earlier In my Posts Before,, Those are
- Metro UI Social Profile and Search Box with Zoom & Glow Effects Widget v1.0 by MJN For Blogger ..
- Simple and Stylish Ribbon UI Social Profile Widget v1.0 by MJN For Blogger..
So after Working on Those Two Metro UI and Ribbon UI Widgets today I am Here With One More Metro UI Win 8 Style Drop Down Menu Using CSS3..
Demo of Metro UI Drop Down Menu With Sliding Tiles Effect v1.1
After Previewing Live Demo I think you are "Happy!!" to add it to your Blog or Site..
How to Add Metro UI Drop Down Menu With Sliding Effect Into Your Blog:
- First Go to "Blogger" and Go to your Blog Dashboard..
- Now Click On "Layout" In Left Side of your Blog..
- Now Click on "Add Gadget"..
- You Will Get Many Widgets..Scroll Down to "HTML/JavaScript"..
- Click On "HTML/JavaScript"..
- Now Paste This Below Set of Code in it..
<style>
/* demo page styles */
.mjn-tab1
{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxFEvzo_pQaMr4SFCfPNWEJKayQ9cjmQKJEy2uZyZ8kF8JJLP8jC9XXAZjILj9UsIbpsm4ZR7rQ3Z-TDe0QXFFSFJcYam7U0Aq1yR41arGfgFfsXRHcjI9xpv8GFTwA5KfXY-7TKZaB1w/h120/home.png) no-repeat center center #4d90fe;
}
.tab1:hover
{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxFEvzo_pQaMr4SFCfPNWEJKayQ9cjmQKJEy2uZyZ8kF8JJLP8jC9XXAZjILj9UsIbpsm4ZR7rQ3Z-TDe0QXFFSFJcYam7U0Aq1yR41arGfgFfsXRHcjI9xpv8GFTwA5KfXY-7TKZaB1w/h120/home.png) no-repeat center center #3682FC;
}
.mjn-fb
{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipySYk891GXg6ylmeLe-9iCYY-qXe3-D9f70_lkfRSvOYgtHsT35vBRZrm5QjPDNUf38w_NoBhrDu9cgdjIE-LvAL5iF8Wh5FuUMKRYS85FTPBeiCMkqkEjKqIT4Qpw1shPRtl0U29ELs/s1600/facebook2.png) no-repeat center center #2A82D9;
}
.mjn-fb:hover
{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipySYk891GXg6ylmeLe-9iCYY-qXe3-D9f70_lkfRSvOYgtHsT35vBRZrm5QjPDNUf38w_NoBhrDu9cgdjIE-LvAL5iF8Wh5FuUMKRYS85FTPBeiCMkqkEjKqIT4Qpw1shPRtl0U29ELs/s1600/facebook2.png) no-repeat center center #1f69b3;
}
.mjn-tw
{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6E9AjPwOGuiprVhlvQAEVOqL0cKOEr2USmx1bX3iVl2t91GOah9jWvLoux258NXnIjHH8VHw-gei0A0JXpuH9ETzEhOu-J-DISppzvWSVZR3I7MourFkoyr2ZuFmbv1K2AAusQP7pErs/h120/twitter-bird-dark-bgs.png) no-repeat center center #0CA8F0;
}
.mjn-tw:hover
{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6E9AjPwOGuiprVhlvQAEVOqL0cKOEr2USmx1bX3iVl2t91GOah9jWvLoux258NXnIjHH8VHw-gei0A0JXpuH9ETzEhOu-J-DISppzvWSVZR3I7MourFkoyr2ZuFmbv1K2AAusQP7pErs/h120/twitter-bird-dark-bgs.png) no-repeat center center #43b3e5;
}
.mjn-g
{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwnHpfSae6pWVj1FfWnK62Q4xFCooUR4ZQB38WEcTIGIbqRL97C57M3TRC5768cP5IAgnsFdXhrU7V_oJDq6UTpDdJoZf6GxlfQYlQWJYhdAF3XIGaEe0IF5tr8nXMlyYBH3YAhoi8V94/s1600/google+plus2.png) no-repeat center center #DC321E;
}
.mjn-g:hover
{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwnHpfSae6pWVj1FfWnK62Q4xFCooUR4ZQB38WEcTIGIbqRL97C57M3TRC5768cP5IAgnsFdXhrU7V_oJDq6UTpDdJoZf6GxlfQYlQWJYhdAF3XIGaEe0IF5tr8nXMlyYBH3YAhoi8V94/s1600/google+plus2.png) no-repeat center center #c53727;
}
.mjn-rss
{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_bW8UkvyKfKiQcyoMwMHe7au9AINJyQdsScWRRic5O76s-BhvKAY3l6H2Bs0ZiPNYMN7xKuJ8mxTyxGEhJcxSc0eoMv3mtwm0LW-AWPbTz79namapF_QiaV4PdwJifOJbBJrCE9d8at0/s1600/feed2.png) no-repeat center center #E9A01C;
}
.mjn-rss:hover
{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_bW8UkvyKfKiQcyoMwMHe7au9AINJyQdsScWRRic5O76s-BhvKAY3l6H2Bs0ZiPNYMN7xKuJ8mxTyxGEhJcxSc0eoMv3mtwm0LW-AWPbTz79namapF_QiaV4PdwJifOJbBJrCE9d8at0/s1600/feed2.png) no-repeat center center #F9A914;
}
.mjn-tab2
{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKbGQblxp4PnBSDgEAxyKN_zvf0uGK04CR-FNncprk6DIkCNmXP5sfzi4Q4pzq_kCUOPzoZe6NE0cWk9ctwOJAZoDiTT578lcAAcqigQv4u68wjTv9zpF80tO2lmx-7J7XN7SrIxOBpGM/h120/Tag.png) no-repeat center center #35aa47;
}
.mjn-tab2:hover{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKbGQblxp4PnBSDgEAxyKN_zvf0uGK04CR-FNncprk6DIkCNmXP5sfzi4Q4pzq_kCUOPzoZe6NE0cWk9ctwOJAZoDiTT578lcAAcqigQv4u68wjTv9zpF80tO2lmx-7J7XN7SrIxOBpGM/h120/Tag.png) no-repeat center center #1d943b;
}
.mjn-tab2sub
{
background: #35aa47;
}
.mjn-tab2sub:hover{
background: #1d943b;
}
.mjn-tab3
{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzb_P0R2cK6_5OzUgeWBkpXNfeVj_ZgeedVscYdDxn1YJLtklWBk-nrKtHG56Dhyphenhyphenp83Eocvt3RhxD0EDyKUh4NwsUHpoIiszj4c__BX19uitvDGJQ-8DNHZ2izBFQQQYdOx7VVpKIUMl0/h120/archives.png) no-repeat center center #852b99;
}
.mjn-tab3:hover
{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzb_P0R2cK6_5OzUgeWBkpXNfeVj_ZgeedVscYdDxn1YJLtklWBk-nrKtHG56Dhyphenhyphenp83Eocvt3RhxD0EDyKUh4NwsUHpoIiszj4c__BX19uitvDGJQ-8DNHZ2izBFQQQYdOx7VVpKIUMl0/h120/archives.png) no-repeat center center #6d1b81;
}
.mjn-tab3sub
{
background: #852b99;
height:70px;
}
.mjn-tab3sub:hover
{
background: #6d1b81;
}
.mjn-tab4
{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKc3V8qAVN2G4vBWrNUWj7IoMWbuT8Ps4w4mWH3y8l1o9iXcA75M5ch9LYW5o7byc4iJO_Zh-lXgNevwiEw5A7B6yPaQyRrvu4s_Dl_sJp0aoIxJhWYABg4OzJoyfEKLJlDss4o8PdC80/h120/contact.png) no-repeat center center #d84a38;;
}
.mjn-tab4:hover{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKc3V8qAVN2G4vBWrNUWj7IoMWbuT8Ps4w4mWH3y8l1o9iXcA75M5ch9LYW5o7byc4iJO_Zh-lXgNevwiEw5A7B6yPaQyRrvu4s_Dl_sJp0aoIxJhWYABg4OzJoyfEKLJlDss4o8PdC80/h120/contact.png) no-repeat center center #c53727;
}
.mjn-tab4sub
{
background: #d84a38;;
}
.mjn-tab4sub:hover{
background: #c53727;
}
.mjn-tab5
{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMoKU8YoX-dKVWsAwti68WUe5n2ss2m-xdLFNGJWBsKfNilGlQ-MHGQJLRjJYG2INzScCGRqZhzqy4X0KeJGlyRDr0TU7nlpZyPucPgpDVHYQbDaK5isy5nR69ACtyGkFNzxlOcxrqeMw/h120/Menu.png) no-repeat center center #555;
}
.mjn-tab5:hover
{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMoKU8YoX-dKVWsAwti68WUe5n2ss2m-xdLFNGJWBsKfNilGlQ-MHGQJLRjJYG2INzScCGRqZhzqy4X0KeJGlyRDr0TU7nlpZyPucPgpDVHYQbDaK5isy5nR69ACtyGkFNzxlOcxrqeMw/h120/Menu.png) no-repeat center center #222;
}
body {
background:none;
margin:0;
padding:0;
font-family: Helvetica,Arial,sans-serif;
font-size: 11px;
}
.mjn-metro-menu {
position:relative;
background:none;
width:500px;
height:90px;
border:none;
margin:20px auto;
padding:20px;
float:left;
}
/* navigation menu styles - main styles */
ul.navi {
position:relative;
z-index:100;
padding:0;
margin:0 0 0 60px;
list-style:none;
width:auto;
height:30px;
}
ul.navi > li {
width:70px;
height:70px;
position:absolute;
left:0;
top:0;
-moz-transition: -moz-transform 0.5s ease-in-out;
-ms-transition: -ms-transform 0.5s ease-in-out;
-o-transition: -o-transform 0.5s ease-in-out;
-webkit-transition: -webkit-transform 0.5s ease-in-out;
transition: transform 0.5s ease-in-out;
}
ul.navi a {
display:block;
width:70px;
height:70px;
position:absolute;
left:0;
top:0;
line-height:30px;
text-align:center;
text-decoration:none;
}
ul.navi a img {
border:0;
}
ul.navi a span {
position:relative;
top:30%;
font: 14px Segoe UI, Helvetica, Arial, sans-serif;
color:#fff;
}
/* top line - hover styles */
ul.navi:hover {
height:200px;
}
ul.navi:hover li#n1 {
-moz-transform: translatex(0px);
-ms-transform: translatex(0px);
-o-transform: translatex(0px);
-webkit-transform: translatex(0px);
transform: translatex(0px);
}
ul.navi:hover li#n2 {
-moz-transform: translatex(90px);
-ms-transform: translatex(90px);
-o-transform: translatex(90px);
-webkit-transform: translatex(90px);
transform: translatex(90px);
}
ul.navi:hover li#n3 {
-moz-transform: translatex(180px);
-ms-transform: translatex(160px);
-o-transform: translatex(160px);
-webkit-transform: translatex(160px);
transform: translatex(180px);
}
ul.navi:hover li#n4 {
-moz-transform: translatex(260px);
-ms-transform: translatex(270px);
-o-transform: translatex(270px);
-webkit-transform: translatex(270px);
transform: translatex(270px);
}
ul.navi:hover li#n5 {
-moz-transform: translatex(360px);
-ms-transform: translatex(360px);
-o-transform: translatex(360px);
-webkit-transform: translatex(360px);
transform: translatex(360px);
}
/* submenus - common styles */
ul.sub {
padding:0;
margin:0;
list-style:none;
width:100%;
height:200px auto;
position:absolute;
left:0;
top:0;
z-index:-1;
opacity:0;
-moz-transition: opacity 0s linear 1s;
-ms-transition: opacity 0s linear 1s;
-o-transition: opacity 0s linear 1s;
-webkit-transition: opacity 0s linear 1s;
transition: opacity 0s linear 1s;
}
ul.sub li {
width:80px auto;
height:80px;
position:absolute;
left:0;
top:0;
z-index:-1;
-moz-transition: -moz-transform 0.5s ease-in-out 0.5s;
-ms-transition: -ms-transform 0.5s ease-in-out 0.5s;
-o-transition: -o-transform 0.5s ease-in-out 0.5s;
-webkit-transition: -webkit-transform 0.5s ease-in-out 0.5s;
transition: transform 0.5s ease-in-out 0.5s;
}
/* submenus - hover styles */
ul.navi > li:hover ul {
opacity:1;
-moz-transition: opacity 0s linear 0.5s;
-ms-transition: opacity 0s linear 0.5s;
-o-transition: opacity 0s linear 0.5s;
-webkit-transition: opacity 0s linear 0.5s;
transition: opacity 0s linear 0.5s;
}
ul.navi li:hover ul li.l {
-moz-transform: translatex(-70px) translatey(90px);
-ms-transform: translatex(-70px) translatey(90px);
-o-transform: translatex(-70px) translatey(90px);
-webkit-transform: translatex(-70px) translatey(90px);
transform: translatex(-70px) translatey(90px);
}
ul.navi li:hover ul li.c {
-moz-transform: translatex(2px) translatey(90px);
-ms-transform: translatex(2px) translatey(90px);
-o-transform: translatex(2px) translatey(90px);
-webkit-transform: translatex(2px) translatey(90px);
transform: translatex(2px) translatey(90px);
}
ul.navi li:hover ul li.r {
-moz-transform: translatex(74px) translatey(90px);
-ms-transform: translatex(74px) translatey(90px);
-o-transform: translatex(74px) translatey(90px);
-webkit-transform: translatex(74px) translatey(90px);
transform: translatex(74px) translatey(90px);
}
ul.navi li:hover ul li.r1 {
-moz-transform: translatex(146px) translatey(90px);
-ms-transform: translatex(146px) translatey(90px);
-o-transform: translatex(146px) translatey(90px);
-webkit-transform: translatex(146px) translatey(90px);
transform: translatex(146px) translatey(90px);
}
</style>
<!doctype html public "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<link rel="stylesheet" href="css/style.css" type="text/css" media="all" />
<div class="mjn-metro-menu">
<!-- defining top menu elements -->
<ul class="navi">
<li id="n1"><a class="mjn-tab1" href="http://s2free.blogspot.com/" title="Home" ></a>
<!-- defining sub menu elements --><ul class="sub">
<li class="l"><a class="mjn-fb" href="https://www.facebook.com/yourlink" title="Like Us on Facebook"></a></li>
<li class="c"><a class="mjn-tw" href="https://www.twitter.com/yourlink" title="Follow Us on Twitter"></a></li>
<li class="r"><a class="mjn-g" href="https://plus.google.com/u/0/123456789"></a></li>
<li class="r1"><a class="mjn-rss" href="https://feeds.feedburner.com/yourlink"></a></li>
</ul>
</li>
<li id="n2"><a class="mjn-tab2" href="http://s2free.blogspot.com/search/label/" title="Tags" ></a>
<ul class="sub">
<li class="l"><a class="mjn-tab2sub" href="http://s2free.blogspot.com/search/label/Windows"title="Windows"><span>Windows</span></a></li>
<li class="c"><a class="mjn-tab2sub" href="http://s2free.blogspot.com/label/Blogger" title="Blogger"><span>Blogger</span></a></li>
<li class="r"><a class="mjn-tab2sub" href="http://s2free.blogspot.com/search/label/CSS3" title="CSS/HTML"><span>CSS/HTML</span></a></li>
<li class="r1"><a class="mjn-tab2sub" href="http://s2free.blogspot.com/search/label/Softwares" title="Softwares"><span>Softwares</span></a></li>
</ul>
</li>
<li id="n3"><a class="mjn-tab3" href="s2free.blogspot.com/2013/" title="Blog Archive" ></a>
<ul class="sub">
<li class="l"><a class="mjn-tab3sub" href="s2free.blogspot.com/2013/"><span>2013</span></a></li>
<li class="c"><a class="mjn-tab3sub" href="s2free.blogspot.com/2013/"><span>2012</span></a></li>
<li class="r"><a class="mjn-tab3sub" href="s2free.blogspot.com/2013/"><span>2011</span></a></li>
<li class="r1"><a class="mjn-tab3sub" href="s2free.blogspot.com/2013"><span>2010</span></a></li>
</ul>
</li>
<li id="n4"><a class="mjn-tab4" href="http://mjntechtips.blogspot.in/p/blog-page.html" title="Contact Us" ></a>
<ul class="sub">
<li class="l"><a class="mjn-tab4sub" href="#"><span>LINK 1</span></a></li>
<li class="c"><a class="mjn-tab4sub" href="#"><span>LINK 2</span></a></li>
<li class="r1"><a class="mjn-tab4sub" href="#"><span>LINK 3</span></a></li>
<li class="r"><a class="mjn-tab4sub" href="#"><span>LINK 4</span></a></li>
</ul>
</li>
<li id="n5"><a class="mjn-tab5" href="#" ><span></span></a>
</li>
</ul>
<div style="clear:both"></div>
</div>
</!doctype>
- Now Click Save and Drag it to your desired position..
Customization :
Now Replace Links Text Highlighted in Color Facebook,Twitter,Google+,RSS and other in Red with your Link..Replace the Names Highlighted in Pink with your Words appropriate to link given..
0 comments:
Post a Comment