此代码在chrome上正常工作并显示过渡。但是在IE 11上,过渡失败。我尝试删除calc函数,但在IE 11上仍然无法正常工作。这是代码
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="x-ua-compatible" content="IE=9;IE=10;IE=Edge,chrome=1"/>
<style>
.notch{position: absolute;
left: calc(95vw - 37.5px);
top: calc(50% - 5px);
width: 75px;
height: 110px;
box-sizing: border-box;
font-size: 30px;
text-align: center;
line-height: 110px;
transition: all 60s linear;
}
</style>
</head>
<body>
<div class="notch">NOTCH</div>
</body>
</html>