Lietotāju sarunas
BUZZ AMATU MEKLĒJUMOS | KONKURSS! IESPĒJA IEGŪT ESKLUZĪVU REKLĀMAS VIETU PORTĀLĀ!
Atlikušie simboli: 200

  • Lappuse 1 no 1
  • 1
Forums » uCoz sistēma » Vizuālie skripti » CSS-Navigācija (css menu)
CSS-Navigācija
wuxmachine Pievienots: Sestdiena, 16.04.23, 00:03 | Ieraksts # 1 Offline

Ieraksti: 1081
GENERALISSIMO
Izskats:



Kods:

Code
.menu {width: 100%; overflow: hidden; border-radius: 5px; font-size: 13px; font-family: 'Open Sans', Tahoma, sans-serif;}  
  .menu a {width: calc(100% - 10%); height: 30px; line-height: 30px; padding: 0 5%; display: block; background: rgb(229,101,76); border-bottom: 1px solid rgba(34,34,34,.25); color: #fff; text-decoration: none !important;}  
  .link_drop a {background: rgb(71, 65, 65); padding-left: calc(5% + 5px); width: calc(100% - 10% - 5px);}  
  .link_drop a:hover {box-shadow: 4px 0 0 0 rgb(229,101,76) inset;}  
  .link_drop {height: 31px; overflow: hidden;}  
  .link_drop:hover {height: calc(31px + 31px * 5);}  
  .link_drop_top {background: rgb(229,101,76) !important; width: calc(100% - 10%) !important; padding: 0 5% !important;}  
  .link_drop:before {width: 30px; height: 30px; content: ''; background: url('http://buzz.ucoz.lv/askripti2/drop.png') no-repeat center / 100%; transform: translate(-5px,0) rotate(-90deg); display: inline-block; float: right;}  
  .link_drop:hover:before {transform: translate(-5px,0) ;}  
    .link_drop, .menu a, .link_drop:before {transition: all linear .3s; -moz-transition: all linear .3s; -webkit-transition: all linear .3s; -o-transition: all linear .3s;}


Attiecīgi uzvelkot kursoru uz "submenu", atveras papildus navigācija.
Pielikumi: 8637360.png (3.5 Kb)



 
Forums » uCoz sistēma » Vizuālie skripti » CSS-Navigācija (css menu)
  • Lappuse 1 no 1
  • 1
Meklēšana: