Example Analysis of html5+css3 website menu
This article mainly shows you the "sample analysis of menus on html5+css3 sites", which is easy to understand and well-organized. I hope it can help you solve your doubts. Let the editor lead you to study and study the "sample analysis of menus on html5+css3 sites".
The difficulty of implementation is: the first child, the last child two selectors, the future application of margin-left:-1px;, 33% of the 34% range of skills to deal with.
Another difficulty is the implementation of box-shadow:1px00#F1F1F1 insertion;.
Finally, there is:
The code is as follows:
Background:-webkit-gradient (linear, top left, bottom left, from (# f9f9f9) to (# b6b4b4)); background:-moz- linear gradient (top,#f9f9f9,#b6b4b4); background:-o-linear-gradient (top,#f9f9f9,#b6b4b4); background:linear-gradient (top,#f9f9f9,#b6b4b4)
Copy the code
The code is as follows:
Html5,css3App.jikey_demo {width: 80% news_infoa Edge 0 automatic; background: # f1f1f1;} .news_info {margin-bottom:5px;border:1px solid # bbb;border-radius:5px;box-shadow:01px0#f1f1f1;} .news_infoa {display:inline-block;width:33%; height: 26 pixels; Font family: "Microsoft Yahn"; line height: 26 pixels; text alignment: Center; Color: # 555 Border right: 1 pixel solid # ccc; shadow box: 1 pixel 00mm F1F1F1inset;}.
.news _ infoa: last child {width: 34%; right boundary: none; left boundary:-2px Border-radius:04px4px0;} .news_infoa: hover, .news _ infoa.current {Color: # 208 eddy, linear,lefttop,leftbottom,from (# f9f9f9), to (# b6b4b4); background:-moz-linear-gradient (top,#f9f9f9,#b6b4b4); background:-o-linear-gradient (top,#f9f9f9,#b6b4b4); background:linear-gradient (top,#f9f9f9,#b6b4b4);} News 1, News 2, News 3
The above is all the contents of the article "sample Analysis of html5+css3 website menu". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!