-
Author
-
July 9, 2015 at 21:10 #67552
teamwepv
ParticipantHi:
Non-urgent question. I’ve created a “special” button in my main menu navbar using the following quick css:
.navbar-nav .btn.btn-special {
line-height: 25px !important;
background: transparent;
border: 1px solid #fff !important;
}
This creates a button that changes thickness of the border upon hover (a highlight type effect). I would like a solid 1px border that does not change thickness/highlight upon hover and is, in essence, a clean little oval around the text. Is that possible?Thank you in advance.
July 9, 2015 at 21:45 #67562sharmstr
Moderatorhard to help without seeing it, but I’m guessing you need to define what happens on hover
COPY CODE.navbar-nav .btn.btn-special:hover { border: 1px solid #fff !important; }Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJuly 9, 2015 at 22:19 #67565teamwepv
Participantthe link is http://www.teamflighttraining.com
I’m not sure what the styling attribute is called, but it’s regarding the “highlight” border effect. I’m trying to create a static border oval around the text. The quick css I’ve used has created a border with a “highlight” type effect. Upon hovering, the button then has a thinner 1px border, which is what I want, I do not want the “highlight” border effect prior to hovering.
Sorry for such a nitpicky type question.
July 9, 2015 at 22:27 #67568sharmstr
Moderator.kleo-main-header .nav > li > a {
box-shadow: inset 0px 2px 0px 0px transparent;
}Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJuly 9, 2015 at 22:41 #67573sharmstr
Moderatorawesome
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.