【发布时间】:2023-02-16 22:30:00
【问题描述】:
我有一个 128px 的图像,带有 border-radius 以使其看起来是圆形的(我实际上使用 Bulma 的 .is-rounded 类来执行此操作)。这是图像上生成的 CSS:
.image img.is-rounded {
border-radius: 9999px;
}
这在 Firefox 中有效,但在 Chrome 中,图像是隐藏的。
如果我将其更改为以下内容,它将起作用:
.image img.is-rounded {
border-radius: 63px;
}
但是任何超过 63px 的东西,图像都会再次隐藏:
.image img.is-rounded {
border-radius: 64px;
}
你可以在我的个人网站上看到这个:https://dominick.cc/
铬 110.0:
火狐:
【问题讨论】:
标签: html css google-chrome firefox bulma