

Sometimes adding or changing CSS is not enough and you need to change the layout structure of the page or add class names to certain elements. It is in fact editable in place, just like the style rules. However the HTML pane is not just the static source code. This may be vital to understand where your element is actually taking its values from. Click on the checkbox titled 'Show Inherited Properties' to make the style pane show rules that are not set but inherited from the defaults. Just below the box model visualisation you will see a section that lists all calculated rules for that element. You can check this visual representation to make sure your spacing is accurate, and even double-click to change those values in place. When you open the styles pane you will see the element represented with a box that has margin, border and padding information displayed for all sides. These tools provide great insights and information, but you are really here to edit these styles and see your changes live. These file names are links that will take you to the file itself within the Dev Tools, where you can edit the rules. This tells you where that rule is originally defined so you know where to make your changes. Map to sourceįor each rule set you will see a file name in the top-right corner (e.g. You can then add rules or change the selector itself. This will create a new rule set with as specific a selector as possible.

You can create new rule sets by clicking on the 'plus' (+) icon in the top-left of the styles pane. As soon as you make a change to a number or rule, the results will be shown on the page.

You can see all the applied styles and edit them directly in your browserĭev Tools has in-place editing, which means you can click on any rule and it will turn into a box with the contents highlighted.
