0

How to make box in html using div tag?

html

16th Jan 2018, 5:20 AM
John Salabsab
John Salabsab - avatar
2 ответов
16th Jan 2018, 5:21 AM
TwinkleMist
TwinkleMist - avatar
+ 1
HTML: <div class="box"></div> CSS: .box{ width:50px; height:50px; border: 2px solid black; /*border-radius:20px this only if you dont want a box with 90 degrees corners*/ }
16th Jan 2018, 5:29 AM
Ice
Ice - avatar