How can I grab all css styles of an element?

前端 未结 7 575
[愿得一人]
[愿得一人] 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:22

    Chrome 77 now has Copy styles in the Context menu on the Inspect Element tab.

    Right click on the Element > Inspect > Right click on the element in the opened Elements tab > Copy > Copy styles

    Image example

提交回复
热议问题