Horizontal menu color running on CSS3 for ucoz - UcozBaze All Scripts And Templates
  
Page 1 of 11
UcozBaze All Scripts And Templates » Scripts and Coding » Site Menu » Horizontal menu color running on CSS3 for ucoz (Horizontal menu color running on CSS3 for ucoz)
Horizontal menu color running on CSS3 for ucoz
interoutDate: Sunday, 2012-08-26, 11:06 PM | Message # 1
Group: Administrators
Messages: 1021
33
Sample code for the blue menu



Code
<style>
.dsblue {padding:0; margin:35px auto 80px auto; list-style:none; height:50px; width:714px; overflow:hidden;border-top:1px solid #ccc; border-bottom:1px solid #ccc;}
.dsblue li {float:left;}
.dsblue li a {display:block; float:left; width:100px; line-height:50px; text-align:center; font-family:arial, sans-serif; font-size:13px; text-decoration:none; font-weight:bold; border-right:1px solid #333; border-left:1px solid #ccc;
-moz-transition: 0.40s;
-ms-transition: 0.40s;
-o-transition: 0.40s;
-webkit-transition: 0.40s;
transition: 0.40s;
}
.dsblue li a b {display:block; width:0; height:0; border-left:50px solid blue; border-right:50px solid blue; border-bottom:20px solid black; overflow:hidden;}
.dsblue li a:before {content: attr(rel); background-color:blue; color:#fff; display:block; width:100px; height:50px; text-align:center;
background-image: -moz-linear-gradient(-90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: -webkit-linear-gradient(-90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: -ms-linear-gradient(-90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: -o-linear-gradient(-90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: linear-gradient(-90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
}
.dsblue li a:after {content: attr(rel); background-color:black; color:blue; display:block; width:100px; height:50px; text-align:center;
background-image: -moz-linear-gradient(0deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: -webkit-linear-gradient(90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: -ms-linear-gradient(90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: -o-linear-gradient(90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: linear-gradient(90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
}
.dsblue li a:hover {margin-top:-70px;}
</style>
<ul class="dsblue">
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
</ul>


Sample code for the red menu



Code
<style>
.dsred {padding:0; margin:35px auto 80px auto; list-style:none; height:50px; width:714px; overflow:hidden;border-top:1px solid #ccc; border-bottom:1px solid #ccc;}
.dsred li {float:left;}
.dsred li a {display:block; float:left; width:100px; line-height:50px; text-align:center; font-family:arial, sans-serif; font-size:13px; text-decoration:none; font-weight:bold; border-right:1px solid #333; border-left:1px solid #ccc;
-moz-transition: 0.40s;
-ms-transition: 0.40s;
-o-transition: 0.40s;
-webkit-transition: 0.40s;
transition: 0.40s;
}
.dsred li a b {display:block; width:0; height:0; border-left:50px solid red; border-right:50px solid red; border-bottom:20px solid black; overflow:hidden;}
.dsred li a:before {content: attr(rel); background-color:red; color:#fff; display:block; width:100px; height:50px; text-align:center;
background-image: -moz-linear-gradient(-90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: -webkit-linear-gradient(-90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: -ms-linear-gradient(-90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: -o-linear-gradient(-90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: linear-gradient(-90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
}
.dsred li a:after {content: attr(rel); background-color:black; color:red; display:block; width:100px; height:50px; text-align:center;
background-image: -moz-linear-gradient(0deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: -webkit-linear-gradient(90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: -ms-linear-gradient(90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: -o-linear-gradient(90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: linear-gradient(90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
}
.dsred li a:hover {margin-top:-70px;}
</style>
<ul class="dsred">
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
</ul>


Sample code for the green menu



Code
<style>
.dsgreen {padding:0; margin:35px auto 80px auto; list-style:none; height:50px; width:714px; overflow:hidden;border-top:1px solid #ccc; border-bottom:1px solid #ccc;}
.dsgreen li {float:left;}
.dsgreen li a {display:block; float:left; width:100px; line-height:50px; text-align:center; font-family:arial, sans-serif; font-size:13px; text-decoration:none; font-weight:bold; border-right:1px solid #333; border-left:1px solid #ccc;
-moz-transition: 0.40s;
-ms-transition: 0.40s;
-o-transition: 0.40s;
-webkit-transition: 0.40s;
transition: 0.40s;
}
.dsgreen li a b {display:block; width:0; height:0; border-left:50px solid green; border-right:50px solid green; border-bottom:20px solid indigo; overflow:hidden;}
.dsgreen li a:before {content: attr(rel); background-color:green; color:#fff; display:block; width:100px; height:50px; text-align:center;
background-image: -moz-linear-gradient(-90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: -webkit-linear-gradient(-90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: -ms-linear-gradient(-90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: -o-linear-gradient(-90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: linear-gradient(-90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
}
.dsgreen li a:after {content: attr(rel); background-color:indigo; color:#000; display:block; width:100px; height:50px; text-align:center;
background-image: -moz-linear-gradient(0deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: -webkit-linear-gradient(90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: -ms-linear-gradient(90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: -o-linear-gradient(90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: linear-gradient(90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
}
.dsgreen li a:hover {margin-top:-70px;}
</style>
<ul class="dsgreen">
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
</ul>


 
MessageSample code for the blue menu



Code
<style>
.dsblue {padding:0; margin:35px auto 80px auto; list-style:none; height:50px; width:714px; overflow:hidden;border-top:1px solid #ccc; border-bottom:1px solid #ccc;}
.dsblue li {float:left;}
.dsblue li a {display:block; float:left; width:100px; line-height:50px; text-align:center; font-family:arial, sans-serif; font-size:13px; text-decoration:none; font-weight:bold; border-right:1px solid #333; border-left:1px solid #ccc;
-moz-transition: 0.40s;
-ms-transition: 0.40s;
-o-transition: 0.40s;
-webkit-transition: 0.40s;
transition: 0.40s;
}
.dsblue li a b {display:block; width:0; height:0; border-left:50px solid blue; border-right:50px solid blue; border-bottom:20px solid black; overflow:hidden;}
.dsblue li a:before {content: attr(rel); background-color:blue; color:#fff; display:block; width:100px; height:50px; text-align:center;
background-image: -moz-linear-gradient(-90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: -webkit-linear-gradient(-90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: -ms-linear-gradient(-90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: -o-linear-gradient(-90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: linear-gradient(-90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
}
.dsblue li a:after {content: attr(rel); background-color:black; color:blue; display:block; width:100px; height:50px; text-align:center;
background-image: -moz-linear-gradient(0deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: -webkit-linear-gradient(90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: -ms-linear-gradient(90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: -o-linear-gradient(90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: linear-gradient(90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
}
.dsblue li a:hover {margin-top:-70px;}
</style>
<ul class="dsblue">
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
</ul>


Sample code for the red menu



Code
<style>
.dsred {padding:0; margin:35px auto 80px auto; list-style:none; height:50px; width:714px; overflow:hidden;border-top:1px solid #ccc; border-bottom:1px solid #ccc;}
.dsred li {float:left;}
.dsred li a {display:block; float:left; width:100px; line-height:50px; text-align:center; font-family:arial, sans-serif; font-size:13px; text-decoration:none; font-weight:bold; border-right:1px solid #333; border-left:1px solid #ccc;
-moz-transition: 0.40s;
-ms-transition: 0.40s;
-o-transition: 0.40s;
-webkit-transition: 0.40s;
transition: 0.40s;
}
.dsred li a b {display:block; width:0; height:0; border-left:50px solid red; border-right:50px solid red; border-bottom:20px solid black; overflow:hidden;}
.dsred li a:before {content: attr(rel); background-color:red; color:#fff; display:block; width:100px; height:50px; text-align:center;
background-image: -moz-linear-gradient(-90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: -webkit-linear-gradient(-90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: -ms-linear-gradient(-90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: -o-linear-gradient(-90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: linear-gradient(-90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
}
.dsred li a:after {content: attr(rel); background-color:black; color:red; display:block; width:100px; height:50px; text-align:center;
background-image: -moz-linear-gradient(0deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: -webkit-linear-gradient(90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: -ms-linear-gradient(90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: -o-linear-gradient(90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: linear-gradient(90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
}
.dsred li a:hover {margin-top:-70px;}
</style>
<ul class="dsred">
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
</ul>


Sample code for the green menu



Code
<style>
.dsgreen {padding:0; margin:35px auto 80px auto; list-style:none; height:50px; width:714px; overflow:hidden;border-top:1px solid #ccc; border-bottom:1px solid #ccc;}
.dsgreen li {float:left;}
.dsgreen li a {display:block; float:left; width:100px; line-height:50px; text-align:center; font-family:arial, sans-serif; font-size:13px; text-decoration:none; font-weight:bold; border-right:1px solid #333; border-left:1px solid #ccc;
-moz-transition: 0.40s;
-ms-transition: 0.40s;
-o-transition: 0.40s;
-webkit-transition: 0.40s;
transition: 0.40s;
}
.dsgreen li a b {display:block; width:0; height:0; border-left:50px solid green; border-right:50px solid green; border-bottom:20px solid indigo; overflow:hidden;}
.dsgreen li a:before {content: attr(rel); background-color:green; color:#fff; display:block; width:100px; height:50px; text-align:center;
background-image: -moz-linear-gradient(-90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: -webkit-linear-gradient(-90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: -ms-linear-gradient(-90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: -o-linear-gradient(-90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: linear-gradient(-90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
}
.dsgreen li a:after {content: attr(rel); background-color:indigo; color:#000; display:block; width:100px; height:50px; text-align:center;
background-image: -moz-linear-gradient(0deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: -webkit-linear-gradient(90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: -ms-linear-gradient(90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: -o-linear-gradient(90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
background-image: linear-gradient(90deg, rgba(242, 242, 242,0.4), rgba(242, 242, 242,0));
}
.dsgreen li a:hover {margin-top:-70px;}
</style>
<ul class="dsgreen">
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
<li><a href="#" rel="Menu"><b>Menu</b></a></li>
</ul>

Author - interout
Date Added - 2012-08-26 в 11:06 PM
UcozBaze All Scripts And Templates » Scripts and Coding » Site Menu » Horizontal menu color running on CSS3 for ucoz (Horizontal menu color running on CSS3 for ucoz)
Page 1 of 11
Search:
                                                               
Statistics Forum
New Posts Popular topic Top Forum Users New User

type list Automatically add tags for all uCoz modules (5)
type list Pranešimai skrti jums yra matomi Tag Board Ucoz skriptas (1)
type list Why can’t I copy large files over 4GB to my USB flash drive (0)
type list Forumo Informatorius (2)
type list Pereiti i kita puslapi forume 1.2.3. Ucoz skriptas (1)
type list The script for the output of a random video from Youtube (0)
type list The script updates the block comment without refreshing the (0)
type list Information about your browser for uCoz (0)
type list Kaip isideti Forum Online/Offline Image Ucoz ? (4)
type list Highlight the code in one click (0)

type list Skaiciuojam nuo 1 iki 1000 ! (557)
type list Forum SignatureBar (60)
type list Avatars (22)
type list Juokingos Fotkes :) (19)
type list Kaip pakeisti paveiksla mazas? (19)
type list Mini-Chatas islendantis is sono ucoz (15)
type list Mp3-Tau.do.am (13)
type list Шаблон форума для ucoz For-css (12)
type list Ucoz script - favicon (11)
type list Megsti samp? Ateik cia (10)

interout
GoblinaS
Adi
Esquire
BAtman
WaSHkaZ
Skacikas
meskis
Gytenas
vicka

kukoolcrivat3811
shivamjoshi3696
DiFm
saveta75
Nenad
firdaus085
miljanliverpool
llfc20
designcobras
AnelsoNN


Site design by uCozBaze
uCozBaze © 2011-2016