borderを使って三角形を描く方法まとめ 釣りのためにタイトルはああなっているけど、原理を知る上で重要なのは台形の描き方。 まずは、よくサンプルで見かけるものから。 <div style="width: 0px; height: 0px; border-top: 20px solid #000; border-right: 20px solid #F00; border-bottom: 20px solid #0F0; border-left: 20px solid #00F;"> </div>