我想创建连接低于全宽屏幕使用CSS的形状,但不能够实现,这里是示例图像如何创建具有全屏大小CSS形状
这是我到目前为止已经试过(但想让它响应)
body
{
background:#090d15;
}
.arrow-shape{
width: 0;
height: 0;
border-style: solid;
border-width: 55px 190px 0 190px;
border-color: #082947 transparent transparent transparent;
}
<div class="arrow-shape"></div>
很大,我没不确定我是否可以在边框宽度中使用'vw'。感谢你及时的答复! –
当然。没问题 :) – RacoonOnMoon