如何在弹出式Chrome扩展程序中设置边框半径? [英] How to make border radius in popup chrome extension?

查看:130
本文介绍了如何在弹出式Chrome扩展程序中设置边框半径?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发chrome扩展程序,我想在CSS中制作边框半径并使用radius边框属性,但在子元素中会增加边界。
我的代码html在这里:

 <!DOCTYPE html> 
< html xmlns = http://www.w3.org/1999/xhtml style = border-radius:10px>
< head>
< / head>
< body>
的内容在这里
< / body>
< / html>

我要边框如下图所示:



(用于双关语)。


I'm developing chrome extension, I want to make border radius and use radius border propery in css, but it boder in child elemement. My code html here :

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

I want border as picture below :

http://postimg.org/image/8ct4dcq93/

解决方案

Unfortunately, I don't think you can do it.

The frame around the popup page (highlighted in red in a graphics editor) is fully controlled by Chrome:

You can't change its shape / color, just like you can't change normal Chrome chrome (pun intended).

这篇关于如何在弹出式Chrome扩展程序中设置边框半径?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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