How to make border radius in popup chrome extension?

对着背影说爱祢 提交于 2019-12-24 02:14:05

问题


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/


回答1:


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



来源:https://stackoverflow.com/questions/27899635/how-to-make-border-radius-in-popup-chrome-extension

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!