How to work with CSS efficiently?

Tags: css,twitter-bootstrap

Problem :

I have spent many hours trying to find out what causes what behavior changes when I made some small alterations to the styles in a web page from the standard MVC template in VS 2013. It uses Twitter Bootstrap.

I find it extremely difficult to trace styles sprawled all over the place. For example, the menu in the layout page is tagged with at least six classes: navbar navbar-inverse navbar-fixed-top container navbar-collapse and collapse. It is time consuming trying to find out which style of which class is affecting some behavior. The F12 Toolbar in Chrome helps a bit, but I find it confusing also.

Can people share any tricks and how they climb the CSS curve.

Solution :

Chrome DevTools via F12 is your best option. It would be in your best interest to become effective with it.

Here is Google's documentation on how to use Chrome DevTools to edit and inspect the DOM:

    CSS Howto..

    How to create responsive square

    How to calculate percentages in LESS CSS?

    How can I setup Javascript dynamically to expand divs when clicking another div?

    How to make a Bootstrap 3 dropdown menu open by default when it is inside a collapsed navbar

    CSS - How do I center a loading icon on a page that contains an iframe?

    how to access image through div

    How to dynamically create CSS class in IE8

    How do you make a CSS-defined table-cell scroll?

    How to programmatically ungroup CSS selectors?

    How to change header and footer to full width

    Color of links not always showing correctly

    How to bottom center a span inside a list item

    How do CSS grid systems save time when implementing designs that aren’t grid-based?

    CSS(3): How to display elements after each other

    How can I have a blue background on a hover even with css? [closed]

    The tops of these links aren't working, how can I get the link inside just the buttons?

    How to avoid double border from the multiple
  • How to make non standard shape buttons, non clickable outside of it's border

    How to create a 3 columns fluid fixed fluid layout?

    Javascript: how to check/delete a css style tag in the head of the document

    html element h1 with links as background image show them in one line

    How to put background after anchor tag throw css?

    How do you position CSS elements directly under each other?

    CSS: how to have reposition relative to a centered background image

    How do I keep my input fields on one line while centering the DIV that contains them?

    How to absolutely position element against page rather than floated parent?

    How to draw realistic smooth slit shadow with Pure CSS3?

    How to start ordered list from 2 not 1 with w3c validity and IE 6 compatibility?

    How do I use a pre-defined CSS style for a programmatically drawn TextField?

    How to set select box height in jquery moblie?