.
In the middle of the base container, we will need it instead.
) Shaped in css at the "hamburger" button itself, for the addition of which, a link is set with the prikhovani checkbox. For a lot of things, the name of the for attribute is responsible for the checkbox id. Empty vikoristovumo onclick attribute for iOS
site <
ul>
<
li><
a href=
"#1"
>One
a>
<
li><
a href=
"#2"
>Two
a>
<
li><
a href=
"#3"
>Three
a>
<
li><
a href=
"#4"
>Chotiri
a>
<
li><
a href=
"#5"
>five
a>
<
li><
a href=
"#6"
>Shist
a>
<
li><
a href=
"#7"
>Сім
a>
ul>
One Two Three Chotiri five Shist Сім The layout of our side menu is over. True, another one is not necessarily a trick, the background darkening the main content when the panel is turned on. Yaksho you need it, just Prescribe at the bottom of the menu, for in any other place, a div-container with a singing class:
<
div class
=
"mask-content"
>
div>
The demo has a feature for changing the robot, having commented on the block, you can easily know it and turn it on just as easily))). Vzagal, it’s more simple, go to the html demo page, for the skin element, prescribing the findokladnіshі comments, so how much more will you ruin, you will need to try harder.
Otzhe, all the necessary elements on your mistsyah, want to know more and more, formulate zovnishniy viglyad , Kolir, form, and nadati move our menu. We'll be robbing everything with CSS. Any javascript and additional images.
CSS Determination of the skin rule and power will not be css codes . Styles for panels that are rosted in the right direction are practically the same; In the archives with the codes, the offense of options are packed with files, so select the required ones, correctly connect to the document and everything. Here I use "mince css", for the menu it hangs from the left side of the page:
/ ** * Changes to the navigation panel * hangs when there is an onslaught of evil * / ... nav ( / * Shirn is good enough, don't mess with experimenting * / width: 320px; min- width: 320px; / * Physical and visual display of the panel to the maximum * / height: 100%; position: fixed; top: 0; bottom: 0; margin: 0; / * Zrushuєmo (khovaєmo) panel just on the edge of the side * / left: - 320px; / * Internal access * / padding: 15px 20px; / * Smooth transition of the panel change * / - webkit- transition: left 0.3s; - moz- transition: left 0.3s; transition: left 0. 3s; / * Visnachaєmo colors to the background of the panel * / background: # 16a085; / * On top of the other elements * / z- index: 2000; ) / ** * Button for switching the panel * tag
*/
... nav- toggle ( / * Absolutely positioned * / position: absolute; / * To the left edge of the panel * / left: 320px; / * Jump to the top edge of the panel * / top: 1em; / * Internal access * / padding: 0.5em; / * Viznachaєmo color to the background of the remix * more often than not to the color to the background of the panel * / background: inherit; / * Color text * / color: #dadada; / * Cursor type * / cursor: pointer; / * size to font * / font- size: 1.2em; line- height: 1; / * Lay on top of the other side elements * / z-index: 2001; / * Animuєmo color text when hovering * / - webkit- transition: color. 25s ease-in-out; - moz- transition: color. 25s ease-in-out; transition: color. 25s ease-in-out; ) / * Initially the text of the button * Unicode character (TRIGRAM FOR HEAVEN) * / ... nav- toggle: after (content: "\ 2630"; text- decoration: none;) / * Color text on hover * / ... nav- toggle: hover (color: # f4f4f4;) / ** * Prikhovanie checkbox (forefather) * invisible і inaccessible :) * іm'ya selector attribute fighter * / [Id = "nav-toggle"] (position: absolute; display: none;) / ** * Change the position of the pump * when looking at mobile annexes * If there is an opening, it can be displayed in the middle of the panel * / [Id = "nav-toggle"]: checked ~. nav>. nav- toggle (left: auto; right: 2px; top: 1em;) / ** * If you are the forefathers of arrangements, the panel will be displayed * vikoristovu псевmo pseudo-class: checked * / [Id = "nav-toggle"]: checked ~. nav (left: 0; box- shadow: 4px 0px 20px 0px rgba (0, 0, 0, 0.5); - moz- box- shadow: 4px 0px 20px 0px rgba (0, 0, 0, 0.5); - webkit- box- shadow: 4px 0px 20px 0px rgba (0, 0, 0, 0.5); overflow- y: auto;) / * * Replacing the content of the page * on the size of the width of the panel, * the device is optional, for an amateur * / [Id = "nav-toggle"]: checked ~ main> article (- webkit-transform: translateX (320px); - moz-transform: translateX (320px); transform: translateX (320px);) / * * A change to the symbol of the commander, * a sign of a cross (MULTIPLICATION X), * you can use any sign * / [Id = "nav-toggle"]: checked ~. nav>. nav- toggle: after (content: "\ 2715";) / ** * PROFIX bug in Android<= 4.1.2
* см: http://timpietrusky.com/advanced-checkbox-hack
*/
body (- webkit- animation: bugfix infinite 1s;) @ - webkit- keyframes bugfix (to (padding: 0;)) / ** * Tell me about middle and small screens * mobile attachments * / @ Media screen and (min- width: 320px) (html, body (margin: 0; overflow- x: hidden;)) @ media screen and (max- width: 320px) (html, body (margin: 0; overflow- x: hidden;). nav (width: 100%; box-shadow: none)) / ** * Formєmo panel header style (logo) * / ... nav h2 (width: 90%; padding: 0; margin: 10px 0; text-align: center; text-shadow: rgba (255, 255, 255, .1) - 1px - 1px 1px, rgba (0, 0, 0, .5) 1px 1px 1px; font-size: 1.3em; line-height: 1.3em; opacity: 0; transform: scale (0.1, 0.1); - ms- transform: scale (0.1, 0.1); - moz- transform: scale (0.1, 0.1); - webkit- transform: scale (0.1, 0.1); transform- origin: 0% 0%; - ms- transform- origin: 0% 0%; - moz- transform- origin: 0% 0%; - webkit- transform- origin: 0% 0%; transition: opacity 0.8s, transform 0.8s; - ms- transition: opacity 0.8s, - ms- transform 0.8s; - moz-transition: opacity 0.8s, - moz-transform 0.8s; - webkit-transition: opacity 0.8s, - webkit-transform 0.8s;). nav h2 a (color: #dadada; text- decoration: none; text- transform: uppercase;) / * Smooth appearance of the title (logo) when opening the panel * / [Id = "nav-toggle"]: checked ~. nav h2 (opacity: 1; transform: scale (1, 1); - ms- transform: scale (1, 1); - moz- transform: scale (1, 1); - webkit- transform: scale (1, 1 );) / ** * form mo without the middle of the menu itself * vikorist mo list for items in the menu * screwed transformations and smooth transitions * / ... nav> ul (display: block; margin: 0; padding: 0; list- style: none;). nav> ul> li (line- height: 2.5; opacity: 0; - webkit- transform: translateX (-50%); - moz- transform: translateX (-50%); - ms- transform: translateX (-50% ); transform: translateX (-50%); - webkit-transition: opacity.5s. 1s, - webkit-transform.5s. 1s; - moz-transition: opacity.5s. 1s, - moz-transform. 5s. 1s ; - ms- transition: opacity. 5s. 1s, - ms- transform. 5s. 1s; transition: opacity. 5s. 1s, transform. 5s. 1s;) [id = "nav-toggle"]: checked ~. nav> ul> li (opacity: 1; - webkit- transform: translateX (0); - moz- transform: translateX (0); - ms- transform: translateX (0); transform: translateX (0);) / * Visnachaєmo Intervals appear in the menu * / ... nav> ul> li: nth-child (2) (- webkit-transition: opacity. 5s. 2s, - webkit-transform. 5s. 2s; transition: opacity. 5s. 2s, transform. 5s. 2s;). nav> ul> li: nth-child (3) (- webkit-transition: opacity. 5s. 3s, - webkit-transform.5s. 3s; transition: opacity. 5s. 3s, transform. 5s. 3s;). nav> ul> li: nth-child (4) (- webkit-transition: opacity.5s.4s, - webkit-transform.5s.4s; transition: opacity.5s.4s, transform.5s.4s;). nav> ul> li: nth-child (5) (- webkit-transition: opacity. 5s. 5s, - webkit-transform. 5s. 5s; transition: opacity. 5s. 5s, transform. 5s. 5s;). nav> ul> li: nth-child (6) (- webkit-transition: opacity. 5s. 6s, - webkit-transform. 5s. 6s; transition: opacity. 5s. 6s, transform. 5s. 6s;). nav> ul> li: nth-child (7) (- webkit-transition: opacity. 5s. 7s, - webkit-transform. 5s. 7s; transition: opacity. 5s. 7s, transform. 5s. 7s;) / ** * registration of items in the menu * / ... nav> ul> li> a (display: inline- block; position: relative; padding: 0; font- family: "Open Sans", sans- serif; font- weight: 300; font- size: 1.2em; color : #dadada; width: 100%; text- decoration: none; / * smooth transition * / - webkit- transition: color. 5s ease, padding. 5s ease; - moz- transition: color. 5s ease, padding. 5s ease; transition: color. 5s ease, padding. 5s ease; ) / ** * set the menu when hovering * / ... nav> ul> li> a: hover ,. nav> ul> li> a: focus (color: white; padding- left: 15px;) / ** * the line of the seat for the menu * / ... nav> ul> li >
a :
before {
content :
""
;
display :
block ;
position :
absolute ;
right :
0
;
bottom :
0
;
height :
1px ;
width :
100
%;
-
webkit -
transition :
width 0s ease ;
transition :
width 0s ease ;
}
.
nav >
ul >
li >
a :
after {
content :
""
;
display :
block ;
position :
absolute ;
left :
0
;
bottom :
0
;
height :
1px ;
width :
100
%;
background :
# 3bc1a0; -
webkit -
transition :
width .
5s ease ;
transition :
width .
5s ease ;
}
/ ** * animuєmo to a line of a seat * a response when hovering * /
.
nav >
ul >
li >
a :
hover :
before {
width :
0
%;
background :
# 3bc1a0; -
webkit -
transition :
width .
5s ease ;
transition :
width .
5s ease ;
}
.
nav >
ul >
li >
a :
hover :
after {
width :
0
%;
background :
transparent ;
-
webkit -
transition :
width 0s ease ;
transition :
width 0s ease ;
}
/ * The background is darkened to the main content * when the elements are blocked * spirna is such a feature, if you need it * just comment * /
/ * .Mask-content (display: block; position: fixed; top: 0; left: 0; z-index 1000; width: 100%; height: 100%; background-color: rgba (0, 0, 0, 0.4); visibility: hidden; opacity: 0;): checked ~ .mask-content (visibility: visible; opacity: 1; -webkit-transition: opacity .5s, visibility .5s; transition: opacity .5s, visibility. 5s ;) * /
/ ** * Changing the navigation panel * hangs when there is an onslaught of evil * / .nav (/ * Shirn is pretty, do not get lost experimenting * / width: 320px; min-width: 320px; / * fixed and displayed at the maximum * height / height of the panel : 100%; position: fixed; top: 0; bottom: 0; margin: 0; / * zrushuєmo (hovaєmo) panel just on the edge of the side * / left: -320px; / * inner margins * / padding: 15px 20px; / * smooth transition of the panel change * / -webkit-transition: left 0.3s; -moz-transition: left 0.3s; transition: left 0.3s; / * default color to the background of the panel * / background: # 16a085; / * over the other elements * / z-index: 2000;) / ** * Button for switching the panel * tag * / .Nav-toggle (/ * absolutely position: absolute; / * just from the left edge of the panel * / left: 320px; / * overlooking the top edge of the panel * / top: 1em; / * inside outlets * / padding: 0.5em; / * default color to the background of the remixed * most often, it is visible to the color to the background of the panel * / background: inherit; / * color to text * / color: #dadada; / * cursor type * / cursor: pointer; / * font size * / font-size: 1.2em; line-height: 1; / * lay on top of other side elements * / z-index: 2001; / * text color when hovered over * / -webkit-transition: color .25s ease-in-out ; -moz-transition: color .25s ease-in-out; transition: color .25s ease-in-out;) / * initialize the button text * Unicode character (TRIGRAM FOR HEAVEN) * / .nav-toggle: after (content : "\ 2630"; text-decoration: none;) / * color text when hovering * / .nav-toggle: hover (color: # f4f4f4;) / ** * Prying checkbox (forefather) * invisible і inaccessible :) * im'ya selector attribute great * / (pos iti on: absolute; display: none; ) / ** * Change the position of the transfer * when looking at the mobile annexes * if the display is open, it is displayed in the middle of the panel * /: checked ~ .nav> .nav-toggle (left: auto; right: 2px; top: 1em;) / * * * If you are the forefathers of the imposition, the panel is displayed * vikoristovuєmo pseudo-class: checked * /: checked ~ .nav (left: 0; box-shadow: 4px 0px 20px 0px rgba (0,0,0, 0.5); -moz-box-shadow : 4px 0px 20px 0px rgba (0,0,0, 0.5); -webkit-box-shadow: 4px 0px 20px 0px rgba (0,0,0, 0.5); overflow-y: auto;) / * * content change sidelines * for the size of the panel width, * the feature is optional, for everyone * /: checked ~ main> article (-webkit-transform: translateX (320px); -moz-transform: translateX (320px); transform: translateX (320px) ;) / * * change to the remittance symbol, * call-back (MULTIPLICATION X), * you can use any kind of icon * /: checked ~ .nav> .nav-toggle: after (content: "\ 2715";) / ** * PROFIX bug in Android<= 4.1.2
* см: http://timpietrusky.com/advanced-checkbox-hack
*/ body {
-webkit-animation: bugfix infinite 1s;
} @-webkit-keyframes bugfix {
to {
padding: 0;
}
} /**
* позаботьтимся о средних и маленьких экранах
* мобильных устройств
*/ @media screen and (min-width: 320px) {
html,
body {
margin: 0;
overflow-x: hidden;
}
} @media screen and (max-width: 320px) {
html,
body {
margin: 0;
overflow-x: hidden;
}
.nav {
width: 100%;
box-shadow: none
}
} /**
* Формируем стиль заголовка (логотип) панели
*/ .nav h2 {
width: 90%;
padding: 0;
margin: 10px 0;
text-align: center;
text-shadow: rgba(255, 255, 255, .1) -1px -1px 1px, rgba(0, 0, 0, .5) 1px 1px 1px;
font-size: 1.3em;
line-height: 1.3em;
opacity: 0;
transform: scale(0.1, 0.1);
-ms-transform: scale(0.1, 0.1);
-moz-transform: scale(0.1, 0.1);
-webkit-transform: scale(0.1, 0.1);
transform-origin: 0% 0%;
-ms-transform-origin: 0% 0%;
-moz-transform-origin: 0% 0%;
-webkit-transform-origin: 0% 0%;
transition: opacity 0.8s, transform 0.8s;
-ms-transition: opacity 0.8s, -ms-transform 0.8s;
-moz-transition: opacity 0.8s, -moz-transform 0.8s;
-webkit-transition: opacity 0.8s, -webkit-transform 0.8s;
} .nav h2 a {
color: #dadada;
text-decoration: none;
text-transform: uppercase;
} /*плавное появление заголовка (логотипа) при раскрытии панели */ :checked ~ .nav h2 {
opacity: 1;
transform: scale(1, 1);
-ms-transform: scale(1, 1);
-moz-transform: scale(1, 1);
-webkit-transform: scale(1, 1);
} /**
* формируем непосредственно само меню
* используем неупорядоченный список для пунктов меню
* прикрутим трансфомации и плавные переходы
*/ .nav > ul (display: block; margin: 0; padding: 0; list-style: none;) .nav> ul> li (line-height: 2.5; opacity: 0; -webkit-transform: translateX (-50%); -moz-transform: translateX (-50%); -ms-transform: translateX (-50%); transform: translateX (-50%); -webkit-transition: opacity .5s .1s, -webkit-transform .5s .1s; -moz-transition: opacity .5s .1s, -moz-transform .5s .1s; -ms-transition: opacity .5s .1s, -ms-transform .5s .1s; transition: opacity .5s .1s , transform .5s .1s;): checked ~ .nav> ul> li (opacity: 1; -webkit-transform: translateX (0); -moz-transform: translateX (0); -ms-transform: translateX (0 ); transform: translateX (0);) / * First, open the menu item * / .nav> ul> li: nth-child (2) (-webkit-transition: opacity .5s .2s, -webkit-transform .5s .2s; transition: opacity .5s .2s, transform .5s .2s;) .nav> ul> li: nth-child (3) (-webkit-transition: opacity .5s .3s, -webkit-transform .5s. 3s; transition: opacity .5s .3s, transform .5s .3s;) .nav> Ul> li: nth-child ( 4) (-webkit-transition: opacity .5s .4s, -webkit-transform .5s .4s; transition: opacity .5s .4s, transform .5s .4s; ) .Nav> ul> li: nth-child (5) (-webkit-transition: opacity .5s .5s, -webkit-transform .5s .5s; transition: opacity .5s .5s, transform .5s .5s;) .nav> ul> li: nth-child (6) (-webkit-transition: opacity .5s .6s, -webkit-transform .5s .6s; transition: opacity .5s .6s, transform .5s .6s;). nav> ul> li: nth-child (7) (-webkit-transition: opacity .5s .7s, -webkit-transform .5s .7s; transition: opacity .5s .7s, transform .5s .7s;) / * * * decorated according to the menu item * / .nav> ul> li> a (display: inline-block; position: relative; padding: 0; font-family: "Open Sans", sans-serif; font-weight: 300; font-size: 1.2em; color: #dadada; width: 100%; text-decoration: none; / * smooth transition * / -webkit-transition: color .5s ease, padding .5s ease; -moz-transition: color .5s ease, padding .5s ease; transition: color .5s ease, padding .5s ease;) / ** * set the menu on hover * / .nav> ul> li> a: hover, .nav> ul> li > a: focus (color: white; padding-left: 15px;) / ** * the line to the front of the menu * / .nav> ul> li> a: before (content: ""; display: block; position: absolute; right: 0; bottom: 0; height: 1px; width: 100%; -webkit-transition: width 0s ease; transition: width 0s ease;) .nav> ul> li> a: after (content: ""; display : block; position: absolute; l eft: 0; bottom: 0; height: 1px; width: 100%; background: # 3bc1a0; -webkit-transition: width. 5s ease; transition: width .5s ease; ) / ** * animuєmo line on hover * / .nav> ul> li> a: hover: before (width: 0%; background: # 3bc1a0; -webkit-transition: width .5s ease; transition: width .5s ease;) .nav> ul> li> a: hover: after (width: 0%; background: transparent; -webkit-transition: width 0s ease; transition: width 0s ease;) / * background is darkened to the main content * blocking for every element * spirna is such a feature, if you need it * just comment * / / * .mask-content (display: block; position: fixed; top: 0; left: 0; z-index 1000; width: 100 %; height: 100%; background-color: rgba (0, 0, 0, 0.4); visibility: hidden; opacity: 0;): checked ~ .mask-content (visibility: visible; opacity: 1; -webkit - transition: opacity .5s, visibility .5s; transition: opacity .5s, visibility .5s;) * /
As a matter of fact, practically all the meaning of the authorities is optional, so that you can easily change and all the elements to your taste and color, explained, I will help you at the same time. Well, well, as well, it’s not a matter of reproach, for there’s something like my jamb to appear, write in the comments, it’s unobtrusive and correct.
At the end, I want to guess that not all browsers are equally good at coping with the power of CSS3 wallpaper. The solution is dignified, even more tricky, but still more experimental. Once you have finished your consumer, first screw it down tightly to the working site, and turn it over to the robot in new browsers and on mobile outbuildings.
Once again, marvel at the result, lock the archives with the output codes, experiment with the different parameters and create, create, create ...
At the next hour, I will try to get it right and show it based on this decision , Can be easily realized visuvni, bichni panels , With інshim, not less important elements, for interaction with koristuvachi, on board.
Now at koristuvachіv є the opportunity to get to know with. All the stinks are presented in the same category, as you can see on the TemplateMonster marketplace. They are not guilty of any kind of folding. Just give your unique content and ready - you can start your business and get all the new and new readers. It is also very important to remember about those that I will hand over the text for the skin template for writing.
With the help of Andriy
Garna navigation on the site is even more important for bloggers. From її to help, I can see the necessary side of the blog. Appreciate the intelligence of the site and the sound of the system. The statistics show you how to create a horizontal menu for Blogger with merging icons. Menu with flush buttons-icons of folds in CSS. To look at the menu, click on the button below:
Yak insert a horizontal css menu with icons on Blogger
Go to the "Template" tab, put the cursor in the editor (in any case),
Press Ctrl + F to joke around the code and know the code ]]>
Insert the offensive code in front of the code: ../ * The CSS Code for the menu starts here bloggertrix.com * / # btrix-nav (margin: 100px auto; list-style: none; width: 632px; height: 87px; overflow-y: hidden;) # Btrix-nav li (float: left;) # Btrix-nav li a (display: block; color: white; width: 120px; height: 61px; margin-top: 24px; text-decoration: none; text-align: center; border-top: 1px solid #bbb; border-bottom: 1px solid # 555;) # Btrix-nav li a span.aname (font: bold 17px / 61px "Arial"; color: #fff; text-transform: uppercase; cursor: pointer; position: relative; top: 0; transition: top .5s ease; text-shadow: 1px 1px 1px rgba (0, 0, 0, 0.5);) # Btrix-nav li a img (position: relative; top: 0; transition: top .5s ease;) # Btrix-nav li a: hover (cursor: pointer;) # Btrix-nav li a: hover img (top: -85px;) # Btrix-nav li a: hover .aname (top: 85px;) # Btrix-nav li: nth-child (1) a (background: # 3eb006; border-radius: 5px 0 0 5px; border-left: 1px solid #bbb;) # Btrix-nav li: nth-child (2) a (background: # 9bc704;) # Btrix-nav li: nth-child (3) a (background: # 0dc3ff;) # Btrix-nav li: nth-child (4) a (background: # 51a2ec;) # Btrix-nav li: nth-child (5) a (background: # 6e3cab; border-radius: 0 5px 5px 0; border-right: 1px solid # 555;)
Now go to the "Design" tab,
give new HTML element / JavaScript and give the code:
Golovna https://2.bp.blogspot.com/-vcR6lUGsroY/Ug5ATZk8oZI/AAAAAAAAA00/XENkFMaBgv0/s1600/btrix-home.png" />
blackmail https://2.bp.blogspot.com/-TcXder58ssQ/Ug5ASx8pT0I/AAAAAAAAA0o/5UdA4_gLnV8/s1600/btrix-download.png" />
MySql https://2.bp.blogspot.com/-umlQ7fKXobk/Ug5AT2bLnnI/AAAAAAAAA08/yrQHl6qPMH8/s1600/btrix-mysql.png " />
Html https://2.bp.blogspot.com/-2-iy8RJ92V8/Ug5ASDCru-I/AAAAAAAAA0c/GOBCPpZlA04/s1600/Btrix-html.png " />
Contact us https://4.bp.blogspot.com/-vsm9s0yQr9I/Ug5ASjqawnI/AAAAAAAAA0k/rqb01AbGaFw/s1600/btrix-contact.png" />
Add the required changes to the code that was added to the HTML / JavaScript gadget:
The # change icon for the link to the required side of the blog (for example, side of the tag, side of "contacts", head side blog and)
Seeing the picture, we will see the orange , Change to a direct line on the icon-picture for a specific item.
Item, visions of blue The name of the css menu side.
Change HTML element? JavaScript is in demand from the "Design" blog entry.
For your menu, you can vikoristovuvati icons, logos and pictures png z let's see through the background ... In order to learn more, you need pictures more beautifully than vicoristovuvati a joke on the icons. by the way, iconsearch.ru
Everything is guilty on the site, but it is adaptive, not a horizontal menu, but, similarly, we are guilty of being kind on all screens. De-proponate to look at the classic navigation, like a viconan in a pure style, without storing JS. For your own style, you can go to many sites, as it is built in a simple, standard view, albeit with the presence of effects. Also, if you look at it from mobile noses, then the button will be automatically created. right side When the pressure is not on the full width, the categories will appear, but everything is neatly, on the right side, so the font buttons will be visually visible. Yak can be taken, then here the vicorists were simple HTML lists , All in order to keep all the lists, such as to be found before the transition to the current category. The concept of a pole is in the fact that the navigation list is beautifully arranged in a horizontal view, or, if the mobile is automatically placed in a vertical position, as shown on the images, which is locked behind the material.
There is a collection of information behind the skin feed, and the rozrobnik itself can change on that topic, or on those figuri, which is more thematically appropriate. The menu itself is set in a dark green color, just a look at the views, which can be very easy to create. Otherwise, everything can be radically changed, if you are in the style of CSS, and there will be the style to the design that you need, and most of all, it’s good to write it off to the very basis of the Internet resource.
1
... So for the change, if you go to the portal.
2
... Already marveling at the mobile device, they didn't wink from the menu.
3
... Here they sounded a clink, all the power supply was far away.
Getting Started Before Installation:
CSS section ( width: 100%; max-width: 1198px; margin: 0px auto; display: table; position: relative; }
Header ( width: 100%; display: table; background-color: # 175812; margin-bottom: 50px; }
#kamtukagnpos ( float: left; font-size: 25px; text-transform: uppercase; color: # fffab2; font-weight: 600; padding: 19.8px 0px; }
#kamtukagnpos: hover ( text-shadow: 0px 0px 6px rgba (255, 250, 250, 0.67); }
Nav ( width: auto; float: right; }
Nav ul ( display: table; float: right; }
Nav ul li ( float: left; }
Nav ul li: last-child ( padding-right: 0px; }
Nav ul li a ( color: # e4f2ff; font-size: 19px; padding: 24px 19px; display: inline-block; text-shadow: 0 1px 0 # 2e2f2e; }
Nav ul li a: hover ( background-color: # 143a06; color: # fff9c8; transition: all 0.7s ease 0s; text-shadow: 0 1px 0 # 282b28; }
Nav ul li a: hover i ( color: # fdf7c9; transition: all 0.7s ease 0s; text-shadow: 0 1px 0 # 1c1d1c; }
Nav ul li a i ( padding-right: 9px; color: # f4faff; transition: all 0.7s ease 0s; text-shadow: 0 1px 0 # 202120; }
Navigation-menusaita ul ( display: table; width: 24px; }
Navigation-menusaita ul li ( width: 100%; height: 3px; background-color: # e9f0f7; margin-bottom: 4px; }
Navigation-menusaita ul li: last-child ( margin-bottom: 0px; }
Input, label ( display: none; }
@media only screen and (max-width: 1440px) ( section ( max-width: 95%; } }
@media only screen and (max-width: 980px) ( header ( padding: 20px 0px; }
#kamtukagnpos ( padding: 0px; }
Input ( position: absolute; top: -9999px; left: -9999px; background: none; }
Input: fous ( background: none; }
Label ( float: right; padding: 8px 0px; display: inline-block; cursor: pointer; }
Input: checked ~ nav ( display: block; }
Nav ( display: none; position: absolute; right: 0px; top: 53px; background-color: # 174810; padding: 0px; z-index: 99; }
Nav ul ( width: auto; }
Nav ul li ( float: none; padding: 0px; width: 100%; display: table; }
Nav ul li a ( color: # f7f2f2; font-size: 15px; padding: 10px 20px; display: block; border-bottom: 1px solid rgba (204, 197, 197, 0.1); }
Nav ul li a i ( color: # f9f5d5; padding-right: 13px; } }
@media only screen and (max-width: 480px) ( section (max-width: 90%;) }
@media only screen and (max-width: 360px) ( label (padding: 5px 0px;) #kamtukagnpos (font-size: 20px;) nav (top: 47px;) }
Put a yak in front of the tim, then it is important to wonder at Demo side , І really assess, as everything is great, alas, in fact, there is nothing so dumb, just name the resource to give it an effect, and when all the signs are displayed, go to the window, so it seems more easy to see. vertical menu be based on a list, marked or numbered. For all the elements of the list, they will be folded vertically, covering the entire width of the container element along the width, which takes up the entire width of the container-block.
The elements of the list may not only be misleading, but also headings, icons, pictures. In addition to the vertical menu, you can make out comments on the site, a list of categories, etc.
1. Vertical menu with title
Simple elegant design option. Go for the stylization of categories on the site. When hovering over an item, the list changes the number of colors.
* (Box-sizing: border-box; margin: 0;) .widget (padding: 20px 30px; background: white; font-family: "Roboto", sans-serif;) .widget-title (text-transform: uppercase ; letter-spacing: 2px; color: # 222; font-size: 16px; padding-left: 15px; margin-bottom: 15px; border-left: 2px solid # b99d61;) .widget-list (padding: 0; list -style: none;) .widget-list a: before (content: "\ 2014"; margin-right: 14px;) .widget-list a (text-decoration: none; outline: none; display: block; padding: 6px 0; letter-spacing: 1px; font-weight: 300; color: # 444; transition: .3s linear;) .widget-list a: hover (color: # b99d61;)2. Vertical menu in the style of "metro map"
Tsikave solution for the design of the vertical menu, added additional nested menus. "Gilka metro" - liva between the list, markers are generated before skin requests.
.metro (list-style: none; padding: 0; margin: 30px 0 0 50px; border-left: 5px solid # DAE4F1;) .metro li (line-height: 2em;) .metro ul (margin: 20px 0 20px 15px; padding: 0; border: none; list-style: none;) .metro ul: before, .metro ul: after (content: ""; width: 5px; height: 28px; background: # DAE4F1; position: relative ; display: block; left: -9px;) .metro ul: before (transform: rotate (-45deg); margin-top: -15px;) .metro ul: after (transform: rotate (45deg); bottom: -20px ;) .metro ul li (border-left: 5px solid # DAE4F1;) .metro ul li: first-child (margin-top: -5px; padding-top: 5px;) .metro ul li: last-child (padding -bottom: 9px; margin-bottom: -25px;) .metro a (text-decoration: none; display: block; font-family: "Noto Sans", sans-serif; color: # 4A4B4D;) .metro a: before (content: ""; display: inline-block; background: # CA682D; width: 12px; height: 12px; left: -9px; position: relative; border-radius: 50%; margin-right: .5em;)3. Vertical menu with effects on hover
The icon and background fill, which appear when hovering over an item in the list, help to urge the design of items in the vertical menu.
.category-wrap (padding: 15px; background: white; width: 200px; box-shadow: 2px 2px 8px rgba (0,0,0, .1); font-family: "Helvetica Neue", Helvetica, Arial, sans -serif;) .category-wrap h3 (font-size: 16px; color: rgba (0,0,0, .6); margin: 0 0 10px; padding: 0 5px; position: relative;) .category-wrap h3: after (content: ""; width: 6px; height: 6px; background: # 80C8A0; position: absolute; right: 5px; bottom: 2px; box-shadow: -8px -8px # 80C8A0, 0 -8px # 80C8A0 , -8px 0 # 80C8A0;) .category-wrap ul (list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba (0,0,0, .3);) .category- wrap li (margin: 12px 0 0 0px;) .category-wrap a (text-decoration: none; display: block; font-size: 13px; color: rgba (0,0,0, .6); padding: 5px ; position: relative; transition: .3s linear;) .category-wrap a: after (content: "\ f18e"; font-family: FontAwesome; position: absolute; right: 5px; color: white; transition: .2s linear ;) .category-wrap a: hover (background: # 80C8A0; color: white; )4. Vertical menu with icons
Іkonki in the menu show the visual yakir, additional verbal description of the skin category. To display icons, you need to connect. You can also be victorious whether it’s a іnshiy іnochny font or іkonki-pictures.
* (Box-sizing: border-box; margin: 0;) .widget (padding: 20px; border: 5px solid # f1f1f1; background: #fff; border-radius: 5px; font-family: "Roboto", sans- serif;) .widget h3 (margin-bottom: 20px; text-align: center; font-size: 24px; font-weight: normal; color: # 424949;) .widget ul (margin: 0; padding: 0; list -style: none; width: 250px;) .widget li (border-bottom: 1px solid #eaeaea; padding-bottom: 15px; margin-bottom: 15px;) .widget li: last-child (border-bottom: none; margin-bottom: 0; padding-bottom: 0;) .widget a (text-decoration: none; color: # 616a6b; display: inline-block;) .widget li: before (font-family: FontAwesome; font-size : 20px; vertical-align: bottom; color: # dd3333; margin-right: 14px;) .widget li: nth-child (1): before (content: "\ f1fc";) .widget li: nth-child ( 2): before (content: "\ f0d0";) .widget li: nth-child (3): before (content: "\ f0cd";) .widget li: nth-child (4): before (content: " \ f028 ";) .widget li: nth-child (5): before (content:" \ f03d " ;)5. Vertical menu with pictures
Danish stock can be used for registration of blocks with novelties, similar goods, etc. website for an online store.
Jpeg ">