如何在不覆盖的情况下中和CSS定义 [英] How to neutralize CSS definitions without overriding

查看:121
本文介绍了如何在不覆盖的情况下中和CSS定义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法中和一个元素的CSS规则,而不覆盖一切?

Is there a way to neutralize CSS rules for an element without overriding everything?

例如,我使用Twitter Bootstrap,它有许多预定义的CSS 的定义。在一些地方,我不想要他们。

For examble, I'm using Twitter Bootstrap and it has many pre-defined CSS definitions for table. In some places, I don't want them.

在某些元素,我想知道我是否可以这样做:

On certain table elements, I'm wondering if I can do something like this:

<table style="default"></table>


推荐答案

不能取消覆盖的CSS规则。所以你必须按照你在上面的答案中的建议。

You can not neutralize CSS rules whithout overriding. So you have to do as you suggested in the answers above.

这篇关于如何在不覆盖的情况下中和CSS定义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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