Linked Questions

471 votes
6 answers
704k views

What does !important mean in CSS? Is it available in CSS 2? CSS 3? Where is it supported? All modern browsers?
Itay Moav -Malimovka's user avatar
95 votes
13 answers
206k views

Consider: #div p { color: red !important; } ... #div p { color: blue; } I understand how !important works. In this case the div will render red because now it has priority (!important). But I ...
Denish's user avatar
  • 2,820
5 votes
1 answer
7k views

I am trying to change the font color in my navigation bar. I use bootstrap and my own stylesheets. I want my font to be red, so I'm trying to override every other rule with the help of !important (...
Evgenia Karunus's user avatar
1 vote
2 answers
600 views

HTML: <div class="collapse navbar-collapse navbar-ex1-collapse"> <ul id="menu-primary" class="nav navbar-nav menustyle"> <li><a href="#">Home</a></li> </...
Ramesh KR's user avatar
  • 163
321 votes
15 answers
548k views

I need to modify bootstrap.css to fit my website. I feel it's better to create a separate custom.css file instead of modifying bootstrap.css directly, one reason being that should bootstrap.css get an ...
Alex's user avatar
  • 3,571
449 votes
8 answers
588k views

How can I target input fields of type 'text' using CSS selectors?
Yarin's user avatar
  • 186k
153 votes
17 answers
611k views

Is there a way to change all .btn properties in Bootstrap? I have tried below ones, but still sometimes it shows the default blue color (say after clicking and removing the mouse etc). How can I ...
Sam's user avatar
  • 4,554
45 votes
7 answers
129k views

I'm using Bootstrap for the first time, and am having a lot of trouble aligning this form-horizontal to the left. The list items are horizontal, as they should be, but I want the control-labels (the ...
Tom Maxwell's user avatar
  • 9,623
36 votes
3 answers
30k views

I'm pretty new to Phonegap. I have a problem where the default css used in a clean Phonegap project won't allow input into text fields. I narrowed it down to one line of CSS: * { -webkit-...
botbot's user avatar
  • 7,379
20 votes
7 answers
32k views

How can I restyle my carousel indicators? I have white slides with middle content and the white indicators are not showing up. How can I customize to use a darker color so they show up?
genxgeek's user avatar
  • 13.4k
20 votes
4 answers
24k views

I'm 99% sure I'm missing something terribly obvious here. On the next example, clicking the button should make the div with the .progress class visible. however, it is not working. function func()...
Daniel Williams's user avatar
22 votes
5 answers
33k views

If there is a CSS rule that uses !important, is there a way to remove the !important rule so that I can make further downstream style changes with JS or jQuery? theirs.css div.stubborn { display: ...
doub1ejack's user avatar
  • 11.3k
7 votes
6 answers
19k views

The problem is very simple: <div id="main-content"> <ul> <li> <div class="post-row"> <div class="post-footer"> This is the Footer ...
Łukasz Baran's user avatar
5 votes
8 answers
24k views

My code here: HTML <nav id="pages"> <ul> <li><a href="#">Home</a></li> <li><a href="#">About</a></li> <li&...
Hung PD's user avatar
  • 405
9 votes
2 answers
9k views

After running this: $('.bar').css({'color':'#fff'}); hover for .bar stops working. Why? Also, $('.bar:hover').css({'color':'#fff'}); doesn't change hover's color too, why? What am I missing? http://...
good_evening's user avatar
  • 21.9k

15 30 50 per page
1
2 3 4 5
10