Use CSS3 to create a special wavy menu

Source: Internet
Author: User

We have seen many web menus, and various cool and practical menus are everywhere. Yesterday I saw a very special CSS3 menu. Its shape is wavy, curved, and combined with the background, it looks quite good. Let's take a look at the next one.

I would like to say that the menu may not be very practical, but it is very creative, and it is also convenient for us to learn about CSS3.

Next, let's analyze the source code of this ripple menu.

The structure of HTML code is very simple:

Bytes☾

Then there is the CSS code. Here we absolutely position the menu items.

{:;:;:;:;}

Next we will focus on the CSS code for the wavy effect. Here we mainly use the transform animation attribute of CSS3 to rotate using rotate, and skewY to tilt the Y axis.

{:;:;:;}{:;:;:;}{:;}{:;}{:;}{:;}{:;}{:;} {:;:;:;:;}

Nth-child (n) indicates the nth child element of the parent element.

The source code of the wavy menu is attached. Source code>

Related Article

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.