Groups
Groups
Sign in
Groups
Groups
Firebug
Conversations
About
Send feedback
Help
How to find out topmost element from which the current element inherited property?
17 views
Skip to first unread message
Ben
unread,
Sep 7, 2014, 1:44:06 AM
9/7/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to fir...@googlegroups.com
Assume I have an element like <div>...</div> which inherited the font-size from another element.
When I click on the parent it shows "inherited" too.
How can I find out the first element in the parent-grandparent chain which does NOT inherit from its parent but defines the relevant font-size?
...of cause without having to track down and find and click all the 20 elements in the chain up to the top node <html>?
Ben
Sebastian Zartner
unread,
Sep 7, 2014, 7:05:23 PM
9/7/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to fir...@googlegroups.com
The
Computed
side panel
should provide that info. See this example:
In this case the rule for the outermost
<div>
with the id
level1
defines a font size of
1.2em
.
Sebastian
Reply all
Reply to author
Forward
0 new messages