Create Dropdown menu with CSS3 effects

View: 421    Dowload: 0   Comment: 0   Post by: hanhga  
Author: none   Category: References   Fields: Other

9 point/3 review File has been tested

As the post about creating dropdown that several times before I post, today we will continue to do with CSS3 dropdown Format menu with new effects, very rewarding to you refer to. Let's start creating the menu would:

Introduction

As the post about creating dropdown that several times before I post, today we will continue to do with CSS3 dropdown Format menu with new effects, very rewarding to you refer to. Let's start creating the menu would:
Step 1: HTML
With the following html snippet you just change the name and the link points to is can use for your website or blog.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<div>
 
<ul id="nav">
 
<li><a href="http://www.megacode.vn/">Homea>li>
 
<li><a href="#">Tutorialsa>
 
<div>
 
<ul>
 
<li><a href="#">HTML / CSSa>li>
 
<li><a href="#">JS / jQuerya>li>
 
<li><a href="#">PHPa>li>
 
<li><a href="#">MySQLa>li>
 
<li><a href="#">XSLTa>li>
 
<li><a href="#">Ajaxa>li>
 
ul>
 
div>
 
li>
 
<li><a href="#">Resourcesa>
 
<div>
 
<ul>
 
<li><a href="#">PHPa>li>
 
<li><a href="#">MySQLa>li>
 
<li><a href="#">XSLTa>li>
 
<li><a href="#">Ajaxa>li>
 
ul>
 
div>
 
li>
 
<li><a href="#">Other pagesa>
 
<div>
 
<ul>
 
<li><a href="#">Page 1a>li>
 
<li><a href="#">Page 2a>li>
 
<li><a href="#">Page 3a>li>
 
<li><a href="#">Page 4a>li>
 
<li><a href="#">Page 5a>li>
 
ul>
 
div>
 
li>
 
<li><a href="#">Abouta>li>
 
<li><a href="#">Go Back To The Tutoriala>li>
 
<li>li>
 
ul>
 
div>

Step 2: CSS
Now is the time for us to put css into:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
/* demo page styles */
 
body {
 
background:#eee;
 
margin:0;
 
padding:0;
 
}
 
.example {
 
position:relative;
 
background:#fff url(../images/background.jpg);
 
width:670px;
 
height:470px;
 
border:1px #000 solid;
 
margin:20px auto;
 
padding:15px;
 
border-radius:3px;
 
-moz-border-radius:3px;
 
-webkit-border-radius:3px;
 
}
 
 
 
/* main menu styles */
 
#nav,#nav ul {
 
font-family:verdana;
 
list-style:none;
 
margin:0;
 
padding:0;
 
position:relative;
 
}
 
#nav {
 
height:50px;
 
left:0;
 
overflow:hidden;
 
top:0;
 
}
 
#nav li {
 
float:left;
 
position:relative;
 
z-index:10;
 
}
 
#nav li a {
 
background:url(../images/bg-menu.png) no-repeat center top;
 
color:#fff;
 
display:block;
 
float:left;
 
font-size:14px;
 
height:51px;
 
line-height:40px;
 
padding:0 10px;
 
position:relative;
 
text-decoration:none;
 
z-index:20;
 
}
 
#nav li:first-child a {
 
background:url(../images/bg-menu.png) no-repeat left top;
 
padding-left:35px;
 
}
 
#nav li ul li:first-child a {
 
background-image:none;
 
padding-left:10px;
 
}
 
#nav li.pad {
 
background:url(../images/bg-menu.png) no-repeat right top;
 
display:block;
 
height:51px;
 
width:35px;
 
}
 
#nav ul {
 
background:#009900;
 
height:auto;
 
padding:10px 0;
 
position:absolute;
 
top:-115px;
 
width:180px;
 
z-index:1;
 
 
 
border-radius:8px; /*some css3*/
 
-moz-border-radius:8px;
 
-webkit-border-radius:8px;
 
transition:0.8s ease-in-out;
 
box-shadow:2px 2px 3px rgba(0, 0, 0, 0.5);
 
-moz-box-shadow:2px 2px 3px rgba(0, 0, 0, 0.5);
 
-webkit-box-shadow:2px 2px 3px rgba(0, 0, 0, 0.5);
 
-moz-transition:0.8s ease-in-out;
 
-o-transition:0.8s ease-in-out;
 
-webkit-transition:all 0.8s ease-in-out;
 
}
 
#nav ul li {
 
width:180px;
 
}
 
#nav ul li a {
 
background:transparent;
 
height:20px;
 
line-height:20px;
 
width:160px;
 
}
 
#nav:hover {
 
height:200px;
 
}
 
#nav li:hover ul {
 
-moz-transform:translate(0,161px); /*some css3*/
 
-o-transform:translate(0,161px);
 
-webkit-transform:translate(0,161px);
 
}
 
#nav a:hover,#nav li:hover > a {
 
color:#99ff33;
 
}

So now we have one more choice for the navigation of the web and is not of you.. 

Create Dropdown menu with CSS3 effects

Create Dropdown menu with CSS3 effects Posted on 25-06-2015  As the post about creating dropdown that several times before I post, today we will continue to do with CSS3 dropdown Format menu with new effects, very rewarding to you refer to. Let's start creating the menu would: 3/10 421

Comment:

To comment you must be logged in members.

Files with category

  • Instructions for installing and configuring Windows Live Mail on Windows 10 simple

    View: 2902    Download: 0   Comment: 0   Author: none  

    Instructions for installing and configuring Windows Live Mail on Windows 10 simple

    Category: References
    Fields: Other

    0.8/5 review
    Windows 10 pre-installed Mail application for managing personal email on the device. The latest version of this application but improved a lot and support other email accounts such as Gmail or Yahoo Mail but users almost no "salty" really with this...

  • Step by step instructions to create social networking buttons with CSS3

    View: 2006    Download: 0   Comment: 0   Author: none  

    Step by step instructions to create social networking buttons with CSS3

    Category: References
    Fields: Other

    0.64285714285714/7 review
    CSS3 help web designers have the ability to create buttons (buttons) very nice, today I will share with you two tips decoration for button in your web becomes radiant beauty that no need to use photoshop.

  • You should understand the CSS Box Shadow

    View: 2139    Download: 0   Comment: 0   Author: none  

    You should understand the CSS Box Shadow

    Category: References
    Fields: Other

    1.2083333333333/12 review
    Effects his shadow was introduced in the previous article, however, in this article, I will guide more specific about shadow attributes, you try it with anything. First we try to learn css following paragraph:

  • How to do button movement with beautiful CSS3

    View: 1828    Download: 0   Comment: 0   Author: none  

    How to do button movement with beautiful CSS3

    Category: References
    Fields: Other

    0/5 review
    Previously to create motion effects button, you must draw the button in photoshop, then switched to flash to make it possible to move. But now you need not spend too much time doing it, all because of the emergence of CSS3.

  • Create a dropdown menu with CSS3 effects with beautiful transtions

    View: 2108    Download: 0   Comment: 0   Author: none  

    Create a dropdown menu with CSS3 effects with beautiful transtions

    Category: References
    Fields: Other

    0.40909090909091/11 review
    More of the dropdown menu you want to introduce to you, this will have the effect menu transitions (converted background of menu background from pale to dark). This menu works well on browsers like FF, Chrome, Safary, but unfortunately did not work...

  • How to hack css for all browsers you should know

    View: 1733    Download: 0   Comment: 0   Author: none  

    How to hack css for all browsers you should know

    Category: References
    Fields: Other

    1.5/9 review
    In the process of web design, which makes it the most headaches is how to design web pages that you can run on the browser. Especially when clients use the old as IE6 browser such. However, with this article, you will easily edit interface runs well...

  • Create Accordion with extremely beautiful CSS3

    View: 2163    Download: 0   Comment: 0   Author: none  

    Create Accordion with extremely beautiful CSS3

    Category: References
    Fields: Other

    0.75/6 review
    Accordion is a technique that helps you shortened the content that you want displayed on the website. It is often used for the display of submenus. In addition you can also use it for content, images. Before applying this procedure, you have to use...

  • Create the effect Hovercho images with Webkit and CSS3 is great

    View: 1850    Download: 0   Comment: 0   Author: none  

    Create the effect Hovercho images with Webkit and CSS3 is great

    Category: References
    Fields: Other

    0.9/5 review
    WebKit is one open source application framework provides the necessary components built one for your web browser. Along with CSS3, cả have contributed to very nice effect những previously only using JavaScript or JQuery thực beige.​

 

File suggestion for you

File top downloads

logo codetitle
Codetitle.com - library source code to share, download the file to the community
Copyright © 2015. All rights reserved. codetitle.com Develope by Vinagon .Ltd