CSS3 के साथ, आप हमेशा आयत, त्रिभुज आदि जैसी आकृतियाँ बना सकते हैं।
आइए देखते हैं कैसे -
निम्नलिखित एक आयत है -
#shape1 {
width: 300px;
height: 150px;
background: blue;
} निम्नलिखित एक त्रिभुज है -
#shape2 {
width: 0;
height: 0;
border-left: 200px solid transparent;
border-bottom: 200px solid blue;
}