"Fancy navbar login / sign in form"
Bootstrap 3.2.0 Snippet by abudayah

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
<link href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<body>
<nav class="navbar navbar-default navbar-inverse" role="navigation">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Login dropdown</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li class="active"><a href="#">Link</a></li>
<li><a href="#">Link</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li class="divider"></li>
<li><a href="#">Separated link</a></li>
<li class="divider"></li>
<li><a href="#">One more separated link</a></li>
</ul>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
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
body{
background:url('http://www.wallpaperup.com/uploads/wallpapers/2012/10/21/20181/cad2441dd3252cf53f12154412286ba0.jpg');
padding:50px;
}
#login-dp{
min-width: 250px;
padding: 14px 14px 0;
overflow:hidden;
background-color:rgba(255,255,255,.8);
}
#login-dp .help-block{
font-size:12px
}
#login-dp .bottom{
background-color:rgba(255,255,255,.8);
border-top:1px solid #ddd;
clear:both;
padding:14px;
}
#login-dp .social-buttons{
margin:12px 0
}
#login-dp .social-buttons a{
width: 49%;
}
#login-dp .form-group {
margin-bottom: 10px;
}
.btn-fb{
color: #fff;
background-color:#3b5998;
}
.btn-fb:hover{
color: #fff;
background-color:#496ebc
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments:

Awesome menu!

Any idea how I could add sub dropdowns?

Thank you

frankie71 (1) - 4 years ago - Reply 1


Awesome menu!

Any idea how to add sub dropdowns?

frankie71 (1) - 4 years ago - Reply 0


Awesome menu!

Any idea how I could add sub dropdowns?

Thank you

frankie71 (1) - 4 years ago - Reply 0


Awesome menu!

Any idea how I could add sub dropdowns?

Thank you

frankie71 (1) - 4 years ago - Reply 0


Awesome menu!

Any idea how I could add sub dropdowns?

Thank you

frankie71 (1) - 4 years ago - Reply 0


Awesome menu!

Any idea how to add sub dropdowns?

frankie71 (1) - 4 years ago - Reply 0


This looks very nice and helpful, i am using this on my website www.klfreelancedesigner.com you can add some icons to make it more bueatiful :)

Soul () - 7 years ago - Reply 0


donde bajo esa joda

haquemate81 () - 7 years ago - Reply 0


Los botones no me funcionan y no despliega el menu. Help me!

Elvin Hernandez () - 7 years ago - Reply 0


Nice... And Thanks

Anwar Jahid () - 7 years ago - Reply 0


why after i pressed sign in there is 404 error ??? D:

karinyan () - 8 years ago - Reply 0


look your form route and redirect routes

Juan Rincón () - 7 years ago - Reply 0


Cool, Thank you! :D

Tekk () - 8 years ago - Reply 0


i need a login page but my application is single page application and have single master page so i give background for the login page but it affect the all page because its single page application and anyone know how it solved

vipin () - 8 years ago - Reply 0


When I minimize the browser the search bar will going down of the brand name, how can I fixed it? How will it still look good even in small devices? Thanks :)

Chrisell Bencalo () - 8 years ago - Reply 0


what a btn google plus? to this' not work

Reyy a-young () - 8 years ago - Reply 0


Can't make it work on 3.3.0 :(
The login-dp window doesn't appear, any idea?
I wonder if it's not an issue with jquery? any ideas about which version to use?

freedze () - 8 years ago - Reply 0


With Boostrap 4.0.0alpha3 you need to change:

<ul id="login-dp" class="dropdown-menu dropdown-menu-right">

Michele () - 8 years ago - Reply 0


Seems working also with Boostrap 4.0 but dropdown went out of the page on the right. Try fixing...

Michele () - 8 years ago - Reply 0


the drop down is not working pls help

rehman butt () - 8 years ago - Reply 0


great. I converted this to Jade and it works perfectly fine

ADONGO JUSTICE () - 8 years ago - Reply 0


شكراً لك : )

عبدالله () - 9 years ago - Reply 0


my searchbar is stretched over the whole page on a second row and i can't get it up in the first row.. any ideas what's wrong here? thanks

RailgunPaul () - 9 years ago - Reply 0


Check the widths of the elements within the row. I am expecting they are more than 100% which is causing the overflow. I would suggest adding the following to your CSS as well (at the top of the file):

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

Padraig MacUidhir () - 8 years ago - Reply 0


Thanks!

trungdq_58 () - 9 years ago - Reply 0


Looks great except certain CSS pieces appear to be missing and I cannot override them with a local CSS file/command.

XaosQueen () - 9 years ago - Reply 0


Biju UI Developer: www.bijudes () - 9 years ago - Reply 0


Nice!

[CorVayne] #TeamExitoso () - 9 years ago - Reply 0


For some reason the dropdown isn't working. Any thoughts as to why the navbar is up but the buttons don't do what you're showing in the preview?

Zack () - 9 years ago - Reply 0


did you fixed if already ?

rehman butt () - 8 years ago - Reply 0


must have loaded an old bootstrap.js, get the latest and place it well.

TAHIR kamal () - 9 years ago - Reply 0


sure u added botstrap.js too?

cgwic () - 9 years ago - Reply 0