CodePudding
  • Home
  • front end
  • Back-end
  • Net
  • Software design
  • Enterprise
  • Blockchain
  • Mobile
  • Software engineering
  • database
  • OS
  • other
Home > front end >  HTML, CSS navigation drop-down
HTML, CSS navigation drop-down

Time:11-02





    • Funny movies & lt;/li>
    • Hot action & lt;/li>
    • Sweet love & lt;/li>
    • Terrorist combine & lt;/li>
    • Burning brain mystery & lt;/li>






Nav {
Border - bottom: 1 px solid # C3C3C3;
Background - color: # F3F3F3;
}
. Nav_container {
Width: 1180 px;
height: 50px;
Border - bottom: 1 px solid # C3C3C3;
}
. Level> Li {
display: inline-block;
Padding - top: 15 px;
Margin - right: 25 px;
}
. Level> Li> A {
The text - decoration: none;
color: black;
font-size: 14px;
}
. Level li a: hover {
Color: # 1 db69a;
}
The two {
display: none;
}
. Two> Li {
display: block;
color: black;
}
. Level> Li: hover. Two {
display: block;
position:relative;
Z - index: 1;
}
The two li: hover {
Color: # 1 db69a;
}
. Level2 stores {
display: inline-block;
Background - color: # F4F4F4;
}
Ul, li {
list-style: none;
}
Something wrong

CodePudding user response:

. Level> Li {
display: inline-block; To float: left;

CodePudding user response:

reference 1/f, three dozen soy sauce response:
level> Li {
display: inline-block; To float: left;

Thank you thank you????????????????

Page link:https//www.codepudding.com/frontend/76295.html

Prev:Through a link modal modal boxes, modal dialog emerged after the global layer
Next:Vue browser to bring their own from outside.
  •  Tags:  
  • HTML (CSS)
  • Related
  • In HTML, CSS div problem! consult
  • <! DOCTYPE HTML> <HTML lang="en"> <head> <meta charset="utf-
  • With PDF. Js wrote a PDF, HTML export on ios mobile phone is
  • HTML is QQ bei navigation
  • HTML 5 canvas library
  • Written in tornado that helloword generated file in which fo
  • After the BeautifulSoup soup don't correspond with the origi
  • How the HTML pages on the server
  • In the same HTML ID multiple SVG files in the conflict
  • HTML static page
  •  Links:  
  • CodePudding

About Us:  Contact Us      Terms of Service       Privacy Policy

Copyright © 2010-2023,Powered By CodePudding