As you know in any browser you can select a 'piece' of the website and you can get the HTML code for your selection,
well,
is there any tool you can do the same and it shows you the CSS that only afects to your selection?
EDIT
I know you can get the CSS affecting a tag using Firebug, but how about getting the CSS affecting a larger selection of code?