How can i create a rectangle with no curve angles using CSS | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can i create a rectangle with no curve angles using CSS

Css

9th Oct 2017, 10:11 AM
Joshua G Nyirenda
Joshua G Nyirenda - avatar
2 Answers
+ 2
Try this <div style=" width: 0; height: 0; border: 100px solid transparent; border-bottom-color: red; "></div>
9th Oct 2017, 10:49 AM
Calviղ
Calviղ - avatar
+ 2
Joshua you might like to look at this https://code.sololearn.com/WFNWk49ST1Ms/#html
9th Oct 2017, 4:33 PM
Richard Myatt
Richard Myatt - avatar