How can I grab all css styles of an element?

前端 未结 7 437
[愿得一人]
[愿得一人] 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条回答
  •  南方客
    南方客 (楼主)
    2021-02-01 14:39

    open Firefox, install Firebug right click on the element you want, choose Inspect element and then open the Computed area

    you will have ALL STYLES applied to that element

    This is valid in Chrome, Safari, Opera and IE with their own development tools

    Opera (DragonFly is already installed with Opera)

    enter image description here

    Firefox (Needs FireBug plugIn)

    enter image description here

    Internet Explorer (Needs IE Developer Toolbar plugin)

    enter image description here

    Chrome & Safari (Web Inspector is already part of Chrome and Safari)

    enter image description here

提交回复
热议问题