Difference between revisions of "Team:METU Turkey/Galery"

Line 6: Line 6:
 
<style>
 
<style>
 
ul.nav {border-bottom: 1px solid #999;}
 
ul.nav {border-bottom: 1px solid #999;}
 +
 
     ul.nav li a {display: block; text-decoration: none; color: #333; padding: 5px; border: 1px solid #fff;}
 
     ul.nav li a {display: block; text-decoration: none; color: #333; padding: 5px; border: 1px solid #fff;}
 +
 
     ul.nav > li:hover {border: 1px solid #666; border-bottom: 1px solid #fff;}
 
     ul.nav > li:hover {border: 1px solid #666; border-bottom: 1px solid #fff;}
 +
 
     ul.nav li a:hover {background: #ccc; border: 1px solid #999;}
 
     ul.nav li a:hover {background: #ccc; border: 1px solid #999;}
 +
 
     ul.nav > li {display: inline-block; position: relative; border: 1px solid #fff;}
 
     ul.nav > li {display: inline-block; position: relative; border: 1px solid #fff;}
 +
 
     ul.nav > li ul {display: none; position: absolute; left: -1px; border: 1px solid #666; border-top-color: #fff; margin-top: 1px; width: 365px;}
 
     ul.nav > li ul {display: none; position: absolute; left: -1px; border: 1px solid #666; border-top-color: #fff; margin-top: 1px; width: 365px;}
 +
 
     ul.nav > li:hover ul {display: block;}
 
     ul.nav > li:hover ul {display: block;}
 +
 
     ul.nav > li ul li {display: inline-block;}
 
     ul.nav > li ul li {display: inline-block;}
  

Revision as of 22:23, 4 September 2015

ul class="nav">

  • Menu 1
  • Menu 2
  • Menu 3