CSS declaration "stack" issues

31 views
Skip to first unread message

jorelemondos

unread,
Apr 10, 2015, 2:33:07 PM4/10/15
to fir...@googlegroups.com
HI fellow firebuggers,

I would like to understand why, on a site with bootstrap (twitter) installed, I see random CSS declarations that are always "above" my own style declarations. So I always have to scroll down to see my own work. Is there a way to change this? Thanks!


Sebastian Zartner

unread,
Nov 16, 2015, 1:43:10 AM11/16/15
to Firebug

Looks like this question got missed.

Those rules are at the top, because they are referring to pseudo-elements, in this case ::before and ::after. Those are always shown at the top and there is currently (Firebug 2.0.x) no way to hide them.

This will change with Firebug 3, which integrates itself into the Firefox DevTools. Those tools display the pseudo-elements as separate nodes within the tree view at the left side. So the pseudo-element CSS rules are just shown when you click those nodes.

See the following screenshot as an example for how this looks like:



Sebastian
Reply all
Reply to author
Forward
0 new messages