Reputation: 21
I used modal.js
from bootstrap, but after hiding a modal my div look likes like it has a blue border:
How do I disable or remove this border in .js/.css
Upvotes: 0
Views: 1110
Reputation: 11887
Most browsers have a web development tool built in.
Chrome and IE have their own Developer Tools built in however FireFox has Firebug (which you have to install as an extension).
With these tools, you can "inspect" the DOM (Document Object Model) and see how the CSS styles are applied.
Here is a screenshot from Chrome (by clicking on a tag on the left hand side you will see which CSS are applied to it on the right side under "Computed Style" and "Styles"):
In your case you have to traverse down the DOM until you find the div you are looking for and then see which CSS selector is applying the border you want to remove.
Upvotes: 1