Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
您正在看到一种边缘效果,其中系统正在努力将CSS像素与多个屏幕像素匹配,该屏幕像素在现代显示器上构成了一个CSS像素。
如果将视频的背景与边框相同的着色,它将“填补”小空白。
You are seeing a sort of edge effect where the system is struggling to match part CSS pixels to the multiple screen pixels that make up one CSS pixel on modern displays.
If you put a background to the video the same coloring as the border it will 'fill up' the little gap.
将
border-width
设置为偶数号码,因此,不要以此为代替:使用
4px
而不是5px
::Set the
border-width
to an even number, so instead of this:Instead use something like
4px
instead of5px
: