Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/32.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Css 如何更改引导中所有内容的边界半径_Css_Twitter Bootstrap - Fatal编程技术网

Css 如何更改引导中所有内容的边界半径

Css 如何更改引导中所有内容的边界半径,css,twitter-bootstrap,Css,Twitter Bootstrap,我找到了,但我需要更改以使引导中的所有内容(按钮、文本字段、图像等等)均方正 我认为: <style> * { border-radius: 0px; } </style> * { 边界半径:0px; } 或者我必须指定每个类来做这个更改,就像在另一个答案中一样? 哪种方法最好?我想 html ~ * { border-radius: 0px !important; moz-border-radius: 0px !impor

我找到了,但我需要更改以使引导中的所有内容(按钮、文本字段、图像等等)均方正

我认为:

<style>
    * {
         border-radius: 0px;
    }
</style>

* {
边界半径:0px;
}
或者我必须指定每个类来做这个更改,就像在另一个答案中一样? 哪种方法最好?

我想

html ~ * {
  border-radius: 0px !important;
  moz-border-radius: 0px !important;
  webkit-border-radius: 0px !important;
}

可以完成这项工作。

您最好的选择是编辑和重新编译较少的文件。编译您自己的混合-您可以更改许多属性,例如边界半径