Firefox bug与outline-offset或?

时间:2014-10-27 19:49:15

标签: css firefox mozilla

当您将鼠标悬停在一个方框上时,您会看到左侧轮廓如何有一些延迟,而其他三个方面在同一时间顺利拍摄。你怎么认为男人值得归档一个bug? 我在Win7机器上,我测试了最新的稳定FF。你也看到了吗?

样本

JSBIN

CSS

body {
  margin: 0;
}
#box {
  width: 100px;
  height: 100px;
  padding: 20px;
  border: 20px solid green;
  outline: navy solid 20px;
  margin: 100px;

  background-color: red;
  background-image: url(http://www.lorempixel.com/50/50);
  background-repeat: no-repeat;
  background-clip: content-box;
  background-origin: content-box;
  background-position: center;

  border-radius: 20px;
  -moz-outline-radius:40px;
  outline-offset: 20px;

  transition: all 1.5s ease;
}
#box:hover {
  outline-offset: 0;
}

0 个答案:

没有答案