CSS3 responsive side navigation drop-down menu code
html {
font-family: 'Lato', sans-serif;
}
main {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
height: 100vh;
}
input.hamburger {
display: none;
}
input.hamburger:checked ~ label > i {
background-color: transparent;
-webkit-transform: rotate(90deg);
transform: rotate(90deg);
}
input.hamburger:checked ~ label > i:before {
-webkit-transform: translate(-50%, -50%) rotate(315deg);
transform: translate(-50%, -50%) rotate(315deg);
}
input.hamburger:checked ~ label > i:after {
-webkit-transform: translate(-50%, -50%) rotate(-315deg);
transform: translate(-50%, -50%) rotate(-315deg);
}
input.hamburger:checked ~ label close {
color: #222;
width: 100%;
}
一款蓝色扁平风格的CSS3 SVG制作的响应式侧边导航下拉菜单代码,适用于用户个人中心左侧栏下拉菜单效果。
All resources on this site are contributed by netizens or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this site are for learning reference only. Please do not use them for commercial purposes. Otherwise, you will be responsible for all consequences! If there is any infringement, please contact us to delete it. Contact information: admin@php.cn
Related Article
24 Apr 2018
This time I will bring you jquery+CSS3 to implement the drop-down navigation menu function. What are the precautions for jquery+CSS3 to implement the drop-down navigation menu function? The following is a practical case, let’s take a look.
24 Jul 2018
The content shared with you in this article is about the css code to implement responsive drop-down menus. The content is of great reference value and I hope it can help friends in need.
09 Nov 2016
Animated drop-down navigation menu effect implemented with CSS3
19 Apr 2017
The drop-down menu made using css3 has a very beautiful appearance and is suitable for all major websites. Today, through this article, I will share with you the effect of the animated drop-down menu made based on css3. Friends who need it can refer to it.
26 Sep 2018
In the current web page structure, the navigation menu bar occupies a very important position, because it can not only display examples, but also give you the most intuitive impression of the content. As we all know, in HTML <ul><li></ li></ul>The menu can be hierarchical, then we can implement the navigation drop-down menu with css3.
16 May 2016
Drop-down navigation is often encountered when browsing the web. Remember that it was implemented using js in the past. However, what I will introduce next in this article is to use css3 html5 to implement it. If you are interested, don’t miss it. I hope it will learn from you after reading it. css3 helps
16 May 2016
This article mainly introduces the jQuery three-level drop-down list navigation menu. It is recommended to everyone. Friends who need it can refer to it.
16 May 2016
This article mainly introduces the simple drop-down menu navigation effect code implemented by jQuery. It implements the page style switching function through a simple custom function. It is very simple and practical. Friends who need it can refer to it.
16 May 2016
This article introduces the JS code for the navigation effects of the top buffer drop-down menu. Friends in need can refer to it.
Hot Tools
CSS text is combined into a heart-shaped animation special effect
CSS text is combined into a heart-shaped animation special effect
CSS3 SVG expression flower animation special effects
SS3 SVG confession flower animation special effect is a Valentine's Day animation special effect.
CSS shopping mall websites commonly use left category drop-down navigation menu code
CSS shopping mall websites commonly use left category drop-down navigation menu code
jQuery+CSS3 Valentine's Day love special effects
jQuery+CSS3 Valentine's Day Love Special Effect is a Valentine's Day hanging swinging heart animation special effect.
css3 spoon scooping up glutinous rice balls animation special effects
A bowl of cute glutinous rice balls expression, a spoon scooping up a glutinous rice balls animation special effects