Move the mouse over the display menu

Source: Internet
Author: User

<! Doctype HTML>
<HTML>
<Head>
<Meta charset = "gb2312">
<Title> hide the tab navigation bar on the left of the page-source code home </title>
<Style type = "text/CSS">
A: Link, A: hover, A: visited, A: active {color: # FFF; text-Decoration: none ;}
Body {Height: 100%; width: 100%; margin: 0; padding: 0; Background: # FFF ;}
. Card-holder {position: fixed; width: 0px; overflow: visible ;}
. Card-wrapper {display: inline-block; float: Right; clear: Both ;}
. Card {
Position: relative;
Left: 32px;
Padding: 16px 32px 16px 64px;
Margin: 8px;
X-Box-Shadow: 0 0 8px 0px rgba (0, 0, 0, 0.5 );
Box-Shadow: 8px 0 8px-8px rgba (0, 0, 0, 0.5 );
Background: # FFF;
Transition: All 0.3 s bytes-in-out 0.1 s;
}
. Card: hover {position: relative; left: 100%; margin-left:-32px; box-Shadow: 0-8px 8px-8px rgba (0, 0, 0, 0.5 ), 0 8px 8px-8px rgba (0, 0, 0, 0.5); transition: All 0.3 s bytes-in-out ;}
. Card-content {display: inline-block; color: # FFF; font-family: 'droid sans ', sans-serif; font-size: 16px; font-weight: bold; white-space: nowrap ;}
. Bg-01 {Background: #539770 ;}
. Bg-02 {Background: #4b7d74 ;}
. Bg-03 {Background: # 8dc2bc ;}
. Bg-04 {Background: # edd6b4 ;}
. Bg-05 {Background: # be7467 ;}
. Bg-06 {Background: # e2ae63 ;}
</Style>
</Head>

<Body>

<Div class = 'Card-holder '>
<Div class = 'Card-wrapper '>
<A href = '#'>
<Div class = 'Card bg-01 '>
<SPAN class = 'Card-content'> item #1 </span>
</Div>
</A>
</Div>
<Div class = 'Card-wrapper '>
<A href = '#'>
<Div class = 'Card bg-02 '>
<SPAN class = 'Card-content'> long menu item #2 </span>
</Div>
</A>
</Div>
<Div class = 'Card-wrapper '>
<A href = '#'>
<Div class = 'Card bg-03 '>
<SPAN class = 'Card-content'> menu item #3 </span>
</Div>
</A>
</Div>
<Div class = 'Card-wrapper '>
<A href = '#'>
<Div class = 'Card bg-04 '>
<SPAN class = 'Card-content'> item #4 </span>
</Div>
</A>
</Div>
<Div class = 'Card-wrapper '>
<A href = '#'>
<Div class = 'Card bg-05 '>
<SPAN class = 'Card-content'> menu item #5 </span>
</Div>
</A>
</Div>
<Div class = 'Card-wrapper '>
<A href = '#'>
<Div class = 'Card bg-06 '>
<SPAN class = 'Card-content'> long menu item #1 </span>
</Div>
</A>
</Div>
</Div>
</Body>
</Html>

Move the mouse over the display menu

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.