Blog Vitamin
FeneRLyy
skip to main
|
skip to sidebar
Recent Posts
22 Mayıs 2012 Salı
0 yorum
Birbirinden Güzel Yatay Menüler
Kodları:
Css
#menu-bar { margin: 0px 0px 0px 0px; padding: 6px 6px 0px 6px; height: 34px; line-height: 100%; border-radius: 24px; -webkit-border-radius: 24px; -moz-border-radius: 24px; box-shadow: 2px 2px 3px #666666; -webkit-box-shadow: 2px 2px 3px #666666; -moz-box-shadow: 2px 2px 3px #666666; background: #8B8B8B; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#6CA1A9, endColorstr=#69797A); background: -webkit-gradient(linear, left top, left bottom, from(#6CA1A9), to(#69797A)); background: -moz-linear-gradient(top, #6CA1A9, #69797A); border: solid 2px #6D6D6D; } #menu-bar li { margin: 0px 6px 0px 6px; padding: 0px 0px 6px 0px; float: left; position: relative; list-style: none; } #menu-bar a { font-weight: bold; font-family: arial; font-style: normal; font-size: 12px; color: #E7E5E5; text-decoration: none; display: block; padding: 8px 20px 8px 20px; margin: 0; border-radius: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px; text-shadow: 2px 2px 3px #000000; } #menu-bar .current a, #menu-bar li:hover > a { background: #0399D4; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#EBEBEB, endColorstr=#A1A1A1); background: -webkit-gradient(linear, left top, left bottom, from(#EBEBEB), to(#A1A1A1)); background: -moz-linear-gradient(top, #EBEBEB, #A1A1A1); color: #444444; -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .2); -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, .2); box-shadow: 0 1px 1px rgba(0, 0, 0, .2); text-shadow: 2px 2px 3px #FFFFFF; } #menu-bar ul li:hover a, #menu-bar li:hover li a { background: none; border: none; color: #666; -box-shadow: none; -webkit-box-shadow: none; -moz-box-shadow: none; } #menu-bar ul a:hover { background: #0399D4 !important; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#04ACEC, endColorstr=#0186BA); background: -webkit-gradient(linear, left top, left bottom, from(#04ACEC), to(#0186BA)) !important; background: -moz-linear-gradient(top, #04ACEC, #0186BA) !important; color: #FFFFFF !important; border-radius: 0; -webkit-border-radius: 0; -moz-border-radius: 0; text-shadow: 2px 2px 3px #FFFFFF; } #menu-bar ul { background: #DDDDDD; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#FFFFFF, endColorstr=#CFCFCF); background: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#CFCFCF)); background: -moz-linear-gradient(top, #FFFFFF, #CFCFCF); display: none; margin: 0; padding: 0; width: 185px; position: absolute; top: 30px; left: 0; border: solid 1px #B4B4B4; border-radius: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px; -webkit-box-shadow: 2px 2px 3px #222222; -moz-box-shadow: 2px 2px 3px #222222; box-shadow: 2px 2px 3px #222222; } #menu-bar li:hover > ul { display: block; } #menu-bar ul li { float: none; margin: 0; padding: 0; } #menu-bar ul a { padding:10px 0px 10px 15px; color:#424242 !important; font-size:12px; font-style:normal; font-family:arial; font-weight: normal; text-shadow: 2px 2px 3px #FFFFFF; } #menu-bar ul li:first-child > a { border-top-left-radius: 10px; -webkit-border-top-left-radius: 10px; -moz-border-radius-topleft: 10px; border-top-right-radius: 10px; -webkit-border-top-right-radius: 10px; -moz-border-radius-topright: 10px; } #menu-bar ul li:last-child > a { border-bottom-left-radius: 10px; -webkit-border-bottom-left-radius: 10px; -moz-border-radius-bottomleft: 10px; border-bottom-right-radius: 10px; -webkit-border-bottom-right-radius: 10px; -moz-border-radius-bottomright: 10px; } #menu-bar:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; } #menu-bar { display: inline-block; } html[xmlns] #menu-bar { display: block; } * html #menu-bar { height: 1%; }
Html
<ul id="menu-bar"> <li class="current"><a href="#" _fcksavedurl="#">Ana Sayfa</a></li> <li><a href="#" _fcksavedurl="#">Acilan Kisim</a> <ul> <li><a href="#" _fcksavedurl="#">Dokaliko Menu 1</a></li> <li><a href="#" _fcksavedurl="#">Dokaliko Menu 2</a></li> <li><a href="#" _fcksavedurl="#">Dokaliko Menu 3</a></li> <li><a href="#" _fcksavedurl="#">Dokaliko Menu 4</a></li> </ul> </li> <li><a href="#" _fcksavedurl="#">Acilan Kisim 2</a> <ul> <li><a href="#" _fcksavedurl="#">Dokaliko Menu 1</a></li> <li><a href="#" _fcksavedurl="#">Dokaliko Menu 1</a></li> <li><a href="#" _fcksavedurl="#">Dokaliko Menu 1</a></li> <li><a href="#" _fcksavedurl="#">Dokaliko Menu 1</a></li> </ul> </li> <li><a href="#" _fcksavedurl="#">Menu 3</a></li> <li><a href="#" _fcksavedurl="#">Menu 4</a></li> </ul>
Kodları:
Css
#menu-bar { margin: 0px 0px 0px 0px; padding: 6px 6px 0px 6px; height: 34px; line-height: 100%; border-radius: 24px; -webkit-border-radius: 24px; -moz-border-radius: 24px; box-shadow: 2px 2px 3px #666666; -webkit-box-shadow: 2px 2px 3px #666666; -moz-box-shadow: 2px 2px 3px #666666; background: #8B8B8B; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#67A95D, endColorstr=#387A17); background: -webkit-gradient(linear, left top, left bottom, from(#67A95D), to(#387A17)); background: -moz-linear-gradient(top, #67A95D, #387A17); border: dashed 2px #6D6D6D; } #menu-bar li { margin: 0px 6px 0px 6px; padding: 0px 0px 6px 0px; float: left; position: relative; list-style: none; } #menu-bar a { font-weight: bold; font-family: arial; font-style: normal; font-size: 12px; color: #E7E5E5; text-decoration: none; display: block; padding: 8px 20px 8px 20px; margin: 0; border-radius: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px; text-shadow: 2px 2px 3px #000000; } #menu-bar .current a, #menu-bar li:hover > a { background: #0399D4; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#EBEBEB, endColorstr=#A1A1A1); background: -webkit-gradient(linear, left top, left bottom, from(#EBEBEB), to(#A1A1A1)); background: -moz-linear-gradient(top, #EBEBEB, #A1A1A1); color: #444444; -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .2); -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, .2); box-shadow: 0 1px 1px rgba(0, 0, 0, .2); text-shadow: 2px 2px 3px #FFFFFF; } #menu-bar ul li:hover a, #menu-bar li:hover li a { background: none; border: none; color: #666; -box-shadow: none; -webkit-box-shadow: none; -moz-box-shadow: none; } #menu-bar ul a:hover { background: #0399D4 !important; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0C8BEC, endColorstr=#1C60BA); background: -webkit-gradient(linear, left top, left bottom, from(#0C8BEC), to(#1C60BA)) !important; background: -moz-linear-gradient(top, #0C8BEC, #1C60BA) !important; color: #FFFFFF !important; border-radius: 0; -webkit-border-radius: 0; -moz-border-radius: 0; text-shadow: 1px 2px 3px #FFFFFF; } #menu-bar ul { background: #DDDDDD; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#FFFFFF, endColorstr=#CFCFCF); background: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#CFCFCF)); background: -moz-linear-gradient(top, #FFFFFF, #CFCFCF); display: none; margin: 0; padding: 0; width: 185px; position: absolute; top: 30px; left: 0; border: solid 1px #B4B4B4; border-radius: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px; -webkit-box-shadow: 2px 2px 3px #222222; -moz-box-shadow: 2px 2px 3px #222222; box-shadow: 2px 2px 3px #222222; } #menu-bar li:hover > ul { display: block; } #menu-bar ul li { float: none; margin: 0; padding: 0; } #menu-bar ul a { padding:10px 0px 10px 15px; color:#424242 !important; font-size:12px; font-style:normal; font-family:arial; font-weight: normal; text-shadow: 2px 2px 3px #FFFFFF; } #menu-bar ul li:first-child > a { border-top-left-radius: 10px; -webkit-border-top-left-radius: 10px; -moz-border-radius-topleft: 10px; border-top-right-radius: 10px; -webkit-border-top-right-radius: 10px; -moz-border-radius-topright: 10px; } #menu-bar ul li:last-child > a { border-bottom-left-radius: 10px; -webkit-border-bottom-left-radius: 10px; -moz-border-radius-bottomleft: 10px; border-bottom-right-radius: 10px; -webkit-border-bottom-right-radius: 10px; -moz-border-radius-bottomright: 10px; } #menu-bar:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; } #menu-bar { display: inline-block; } html[xmlns] #menu-bar { display: block; } * html #menu-bar { height: 1%; }
Html
<ul id="menu-bar"> <li class="current"><a href="#" _fcksavedurl="#">Ana Sayfa</a></li> <li><a href="#" _fcksavedurl="#">Acilan Kisim</a> <ul> <li><a href="#" _fcksavedurl="#">Dokaliko Menu 1</a></li> <li><a href="#" _fcksavedurl="#">Dokaliko Menu 2</a></li> <li><a href="#" _fcksavedurl="#">Dokaliko Menu 3</a></li> <li><a href="#" _fcksavedurl="#">Dokaliko Menu 4</a></li> </ul> </li> <li><a href="#" _fcksavedurl="#">Acilan Kisim 2</a> <ul> <li><a href="#" _fcksavedurl="#">Dokaliko Menu 1</a></li> <li><a href="#" _fcksavedurl="#">Dokaliko Menu 1</a></li> <li><a href="#" _fcksavedurl="#">Dokaliko Menu 1</a></li> <li><a href="#" _fcksavedurl="#">Dokaliko Menu 1</a></li> </ul> </li> <li><a href="#" _fcksavedurl="#">Menu 3</a></li> <li><a href="#" _fcksavedurl="#">Menu 4</a></li> </ul>
Devamı Gelicektir.
Artikel Terkait
0 yorum:
Berikan Komentarmu tentang artikel ini
◄ NEXT
PREV ►
Ana Sayfa
Best viewed on firefox 5+
Kaydol:
Kayıt Yorumları (Atom)
Reklam alımlarımız başlamıştır banner boyutuna göre yer açılacaktır.
Reklam koşulları için tıkla.
Ads 468x60px
Sosyal Ağ Bağlantılarım
Search
Hakkımda
FeneRLyy
Profilimin tamamını görüntüle
Featured Posts
eklenicek
Blogger templates
eklenicek
Blogger news
Blogroll
Ad:Refik Can Soyad:Demir Yaş:18 Meslek:Part Time Çalışıyorum Y.Şehir:Mersin Ö.Durumu:Açık Liseden Devam Ediyorum
Copyright ©
Design by Dadang Herdiana
Top
RSS
Home
0 yorum: