Core tip: Vertical navigation menu is also an important form of Web application, the so-called vertical navigation menu refers to the left or right side of the page from top to bottom arrangement of a navigation form. Let's look at the effect first!
Vertical navigation
This article mainly introduces how JavaScript + CSS achieves the auto-scaling menu effect of the imitation Mootools vertical bar, and enables the mouse to move over the menu item to display the auto-moving display effect, which has some reference value, for more information about how to use JavaScript and
Mainstream WEB2.0 website, all adopt div+css frame mode, more confirm div+css is the general trend.
5, the great advantage of CSS in the concise code, for a large web site, can save a lot of bandwidth, and it is well known that search engines like clean code. 6, performance and structure separation,
It is easier to work togethe
Most of the menu on the site is implemented by CSS, whether it is driven by the effect of the painting, or without animation effect, whether it is a level menu or multi-level menu, whether it is a horizontal menu, and whether vertical
Original address: http://www.cnblogs.com/amylis_chen/archive/2011/09/24/2188398.htmlFirst step: Create an unordered list we first create a sequence-free table to create a menu structure. The code is:Second step: Hide the Li's default style because it doesn't look good, the menu usually doesn't need the Li default dot, we define a style for UL to eliminate these d
css| Menu
Simple hidden Vertical Menu expands content when hover. This effect in JS has many versions, but this can be said to be a unique version of the CSS. This menu can be displayed normally in IE5.5,IE6,IE7,FF,OPERA,NS8 as we
This section describes how to create a menu used in a Web page, including a project list, a menu that does not need a table, the horizontal and vertical configuration of menus, and popular tab menus.
First, let's look at the project list: the symbol of the List; let's look at the Code:
The body is very simple. UL's unsigned project list and a group of Li tags a
*/#nav {Background-color:#eeeeee;width:600px;margin:0 Auto;/*Horizontal center of navigation bar*/Height:40px;}ul{List-style:None;}ul Li{float: Left;text-align:Center;/*Vertical center of navigation bar text*/Line-height:40px;position:relative;/*relative positioning allows the level two menu to be displayed under the corresponding one-level menu*/}a{text-decorati
CSS to implement a horizontal navigation menu tutorial, step-by-step to teach you to make.
Subject Code section:
We explain in detail the CSS code, see how it controls this ul Li to create CSS landscape menu
Css:. Menu{box-sizing:Border-box;width:100%;White-space:nowrap;White-space:nowrap;overflow-y:Hidden;Overflow-x:Auto;-ms-overflow-style:None;-webkit-overflow-scrolling:Touch;padding:. 5rem 0;}. Menu Ul,.menu ul Li{position:relative;}. Menu ul{List-style:None;margin:0;padding:
css| Menu | create | navigation
Original tutorial, reproduced please indicate the source: Web Teaching NetworkTwo examples of creating a navigation menu with CSS
Now use css+xhtml to make Web pages, usually web pages need to navigate, there are usually two kinds of navigati
This article mainly introduces the CSS implementation with small images of the Li icon List menu, can realize the normal display of CSS icons and slide over, click to render different colors of the function, involving CSS for visited, hover and active and other use of skills, the need for friends can refer to the next
Have you seen CSS menus on these lists? Fancy decisions? Of course you! Well, this is a convenient tutorial if you want to create a quick CSS menu and be able to control its appearance.Step 2Create a zone on your HTML page and create an unordered list area, as shown in the following code:As you can see in the code, I will contact all of our list items for general
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]
The second method:
In fact, the so-called two-level menu is almost, nothing more than a level two menu to define a layer, when the mouse on the first level of the menu to display this layer, and the mouse from the level of the menu
) top left No-repeat;} Li.work:hover {background:url (img/nav-workhover.gif) top left no-repeat;} . Nav Li a {display:block; padding:15px 0px 0px 50px; color: #000; font-size:18px; font-family:arial; height:35px; Text-deco Ration:none;} . Nav li a:hover {color: #C00;} In a more granular Web site design , menus change to support more styles. To be fair, if you want to use a specific font--there are few sites that are actually allowed to do so--then you need to use pictures, flash, or some mag
Horizontal drop-down Menu
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]
CSS Dropdown navigation menu effect
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]
CSS Horizontal drop down
/nav-abouthover.gif) top left no-repeat;}
li.work {background:url (img/nav-work.gif) top left no-repeat;}
Li.work:hover {background:url (img/nav-workhover.gif) top left no-repeat;}
. Nav Li a {display:block; padding:15px 0px 0px 50px; color: #000; font-size:18px; font-family:arial; height:35px; Text-deco Ration:none;}
. Nav li a:hover {color: #C00;}
In a more granular web design, menus can become more style-enabled. To be fair, if you want to use a particular font--and in fact few sites al
ObjectiveSince I did the smart City project, I was a backend developer, instantly turned to front-end development, but I still like the front-end. The front end of those things, actually quite interesting, HTML implementation is static, using AJAX can interact with the database, plus JS and jquery after the move, plus CSS after the more cool. Because the project needs, check the information and write some cool level two
ul+li and CSS make Korean style menu code _ Experience Exchange
South Korea's Web site is characterized by distinctive design, bright colors, and now more and more people are imitating this style.Korean style web site design ideas are loved by everyone, because of its rich color changes, Korean-style website has one of the most obvious feature is the table or the title bar often add a horizontal or
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.