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 如何在弹出的chrome扩展中创建边界半径?_Css_Google Chrome Extension - Fatal编程技术网

Css 如何在弹出的chrome扩展中创建边界半径?

Css 如何在弹出的chrome扩展中创建边界半径?,css,google-chrome-extension,Css,Google Chrome Extension,我正在开发chrome扩展,我想在css中创建边界半径并使用radius边界属性,但在子元素中会遇到麻烦。 我的html代码如下: <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" style="border-radius:10px"> <head> </head> <body> content here </body> </html>

我正在开发chrome扩展,我想在css中创建边界半径并使用radius边界属性,但在子元素中会遇到麻烦。 我的html代码如下:

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" style="border-radius:10px">
<head>
</head>
<body>
     content here
</body>
</html>

满足于此
我希望边框如下图所示:


不幸的是,我认为你做不到

弹出页面周围的框架(在图形编辑器中以红色突出显示)完全由Chrome控制:


你不能改变它的形状/颜色,就像你不能改变普通的Chrome(双关语)一样。

如果这都是你的代码?另外,您需要的是边界半径,而不是boder半径可能是一个输入错误:
style=“boder radius:10px”
而不是
style=“border radius:10px”
对不起,我刚刚edit@dev.knockout当前位置我猜这只是一个打字错误,与回答问题无关?你有没有尝试过将这种风格添加到你的身体元素中?不幸的是,我认为这是不可能的,UI的这部分是由Chrome控制的。你有没有一个扩展的例子可以做到这一点,或者只是“希望我能做到”?