我怎样才能抓住元素的所有CSS样式? [英] How can I grab all css styles of on element?

查看:113
本文介绍了我怎样才能抓住元素的所有CSS样式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我喜欢网站的某个元素,并且希望将其实施到我的网站中,那么最简单的方法是什么?有时会出现很多CSS文件,这些文件很难遵循所有主题。

打开 Firefox strong>,安装 Firebug ,右键单击你想要的元素,选择 Inspect元素,然后打开 Computed area



您将所有风格应用于该元素



在Chrome,Safari,Opera和IE中使用它们自己的开发工具是有效的
$ b

Opera DragonFly 已经与Opera一起安装)





Firefox (需要插件)





Chrome & Safari Web Inspector 已经是Chrome和Safari的一部分)
$ b


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 theme.

解决方案

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)

Firefox (Needs FireBug plugIn)

Internet Explorer (Needs IE Developer Toolbar plugin)

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

这篇关于我怎样才能抓住元素的所有CSS样式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆