Simple Clear Css Navbar Buttons
+2
SarkZKalie
_Twisted_Mods_
6 posters
Page 1 of 1
Simple Clear Css Navbar Buttons
Example
CSS
Javascript
CSS
- Code:
.navlinks{background:transparent!important;}
a.btn-light {
color: #fff;
background-color: rgba(255,255,255,.125);
border-color: rgba(255,255,255,.125);
font-size: .70rem!important;
font-weight: 500!important;
letter-spacing: 1px;
padding: 9px 19px!important;
border-radius: .25rem!important;
text-transform: uppercase;
box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, .075);
height: auto!important;
line-height: inherit!important;
display: inline-block;
width: auto;
text-align: center;
white-space: nowrap;
vertical-align: middle;
user-select: none;
border: 1px solid transparent;
transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
margin: 2px;
box-sizing: border-box!important;
}
.btn-light:hover {
background-color: rgba(255, 255, 255, 0.18);
border-color: rgba(255, 255, 255, 0.18);
}
Javascript
- Code:
$(function(){
$('.navlinks a').attr('class','btn-light');
});
yonev likes this post
Re: Simple Clear Css Navbar Buttons
It works for me. I have a scrollable Nav Bar. I have to admit. It looks GOOOOOOOOOD!!!
Re: Simple Clear Css Navbar Buttons
Amazing!
Nevertheless is possible use this code without JavaScript, just use (native navbar):
Nevertheless is possible use this code without JavaScript, just use (
- Code:
.navlinks{background:transparent!important;}
a.mainmenu {
color: #fff;
background-color: rgba(255,255,255,.125);
border-color: rgba(255,255,255,.125);
font-size: .70rem!important;
font-weight: 500!important;
letter-spacing: 1px;
padding: 9px 19px!important;
border-radius: .25rem!important;
text-transform: uppercase;
box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, .075);
height: auto!important;
line-height: inherit!important;
display: inline-block;
width: auto;
text-align: center;
white-space: nowrap;
vertical-align: middle;
user-select: none;
border: 1px solid transparent;
transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
margin: 2px;
box-sizing: border-box!important;
}
a.mainmenu:hover {
background-color: rgba(255, 255, 255, 0.18);
border-color: rgba(255, 255, 255, 0.18);
}
sivastar likes this post
Re: Simple Clear Css Navbar Buttons
Another Great Job Buddy! This looks great for a light colored forum.
Graphic Design Section Rules || Becoming a Designer || Graphic Requests
Graphics Request Form
Make sure to check out our FREE Graphic's Gallery
No support provided via PM!
Similar topics
» Need 2 Simple Buttons
» NavBar Buttons - Thanks :D
» navbar buttons
» Navbar (buttons)
» Simple 2 rank buttons!
» NavBar Buttons - Thanks :D
» navbar buttons
» Navbar (buttons)
» Simple 2 rank buttons!
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum