为嵌入的YouTube视频添加border-radius [英] Adding border-radius for embedded YouTube video
本文介绍了为嵌入的YouTube视频添加border-radius的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请参阅这个小提示。在加载 border-radius
之前立即注意工作正常。
Please see this fiddle. Notice instantly before loading the border-radius
works fine. A few milliseconds later the rounded corners disappear.
如何为嵌入的YouTube影片加入圆角?
How can I add rounded corners to embedded YouTube videos?
推荐答案
您只需要设置边框样式:
You just have to set your border styles:
border:20px solid #000;
http://jsfiddle.net/jalbertbowdenii/AkPXj/20/
这篇关于为嵌入的YouTube视频添加border-radius的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文