Previously I shared a very cool CSS3 vertical drop-down animation menu, which is a multi-level menu. Today, we will look at a vertical menu created with CSS3, which is similar to Google Play menus. The menu items all have cute small icons. Let's take a look:
Next, let's take a look at the source code of the Google Play vertical menu, which consists of HTML code and CSS code.
Let's take a look at the HTML code structure:
Store Movies Music Books Magazines Devices
It seems that the structure is not very clear, and a ul li list will be done.
Then let's take a look at the CSS code:
{:;:;:;:;:;:;}{:;:;}{:;:;}{:;:;}{:;:;:; :;:;:;}{:;}{:;:;:;:;}{:;:;:;:;}{:;:;:; :;}{:;:;:;:;}{:;:;:;:;}{:;:;:;:;}
It defines the appearance of the entire menu, including the arrangement, color, Font, and other styles. related features of CSS3 are not used here.
The following is the definition of small icons. The data attribute of CSS3 is used here:
{:;:;:;}{:;:;:;:;}
Here we only list the small icon definitions of one menu item, and others are similar.
This vertical menu is complete, and the source code has been uploaded,>