css sch c3 b6ne navbar

Solutions on MaxInterview for css sch c3 b6ne navbar by the best coders in the world

showing results for - "css sch c3 b6ne navbar"
Anna
29 Jan 2020
1  nav ul {
2    margin: 0;
3    padding: 0;
4    text-align: center;
5  }
6
7  nav li {
8    list-style: none;
9    position: relative;
10    margin: 0; 
11    padding: 0;
12  }
13
14  nav ul ul {
15    position: absolute;
16    top: -0.4em; 
17    left: 8em;
18  }
19
Ugo
04 Jan 2021
1/*     submenu navigation links      */
2nav .submenu { 
3  visibility: hidden;  
4  height: 0;
5  z-index: 1000; 
6}
7nav .submenu li { 
8  display: block; 
9  width: 15em;
10}
11 
12/**     Show the submenu on hover, focus     **/
13nav li:hover  .submenu,
14nav li:active  .submenu, 
15nav li:focus  .submenu { 
16  visibility: visible;
17  height: auto;
18}
19