How can I grab all css styles of an element?

前端 未结 7 450
[愿得一人]
[愿得一人] 2021-02-01 13:44

If I like an element of a site, and I want to implement it into my site, what is the easiest way to do it? Sometimes there is a lot of CSS files, that is hard to follow all of t

7条回答
  •  猫巷女王i
    2021-02-01 14:14

    In one word:

    Firebug.

    Use Firebug to inspect the element, then you can see the cascade. Even better, you can copy and paste right out of FB to a CSS file.

    If you want to use other browsers, you can also use their pre-installed developers tools (F12 in IE (requires the IE developers toolbar) right click - inspect element in chrome) or you can use Firebug Lite. :)

提交回复
热议问题