我想創建連接低於全寬屏幕使用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