Reputation: 567
I started building a site using a bootstrap template, but I'm having a hard time figuring out how to tweak the css. For example, a table might stretch across the entire page. But when I use F12 to look at the css, I don't see anything related to a width property anywhere around the table. Is there a better way to determine what css is being applied or inherited?
Upvotes: 0
Views: 99
Reputation: 1470
If you use google dev tools (F12), the navigation tab will let you click on "Resources." When you click that, you can look at the scripts, stylesheets, see a list of images used, etc...
if you click the "magnifying glass" in Google dev tools (F12), you can hover over any element on the page. Click that element and on the right side, the CSS will be displayed. Usually the stylesheet is called out inside the css.
Upvotes: 0
Reputation: 246
Check out this Chrome plugin called SnappySnippet. (Also, prepare to be amazed)
Upvotes: 0
Reputation: 4538
You can use the Google Chrome element inspector. Right click on a div
or any other page element, and then click "Inspect Element". From there you can view the CSS that is being applied to a specific element.
Upvotes: 2
Reputation: 334
Have a look inside bootstrap.css file , there should be plenty of code and not every element has it's own separate css , some elements are defined together
Upvotes: 0