How to draw boxes | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to draw boxes

3rd May 2020, 10:39 AM
Kyeyune Brian
Kyeyune Brian - avatar
5 Answers
+ 2
For this you may use div tag
3rd May 2020, 10:41 AM
Ayush Kumar
Ayush Kumar - avatar
+ 2
Hay Abhijeet Thorat I had told same . Let him also do some experiments and research for himself what is the need to provide him source code .
3rd May 2020, 11:03 AM
Ayush Kumar
Ayush Kumar - avatar
+ 1
#box{ height:100px; width :100px; background:red; } add an <div id=“box”> in your html and the css code above in css thats it 😄😄 AYUSH.ks
3rd May 2020, 11:01 AM
Abhijeet Thorat
Abhijeet Thorat - avatar
+ 1
<svg viewBox="0 0 220 100" xmlns="http://www.w3.org/2000/svg"> <!-- Simple rectangle --> <rect width="100" height="100" /> <!-- Rounded corner rectangle --> <rect x="120" width="100" height="100" rx="15" /> </svg>
3rd May 2020, 11:45 AM
Calviղ
Calviղ - avatar
0
yupp cool AYUSH.ks 🙌🏻😁
3rd May 2020, 11:05 AM
Abhijeet Thorat
Abhijeet Thorat - avatar