これが三角形を作るために私が使っているものです
#triangle-topright {
width: 0;
height: 0;
border-top: 400px solid white;
border-right: 600px solid transparent;
position:absolute;
right:0; top:0;
opacity: 0.24;
}
理想的には、 border-top: 50% height と border-right:50% width が必要ですが、それは存在しません..これを行う方法はありますか? それとも、ベクター三角形の画像を使用して、サイズを 50%、50% に変更したほうがよいでしょうか?