I dont know how i code projects that displays in same manner in any electronic device.If any one know this please help me🙏🙏 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I dont know how i code projects that displays in same manner in any electronic device.If any one know this please help me🙏🙏

14th Sep 2020, 3:20 PM
Vishnu Kumar Verma
Vishnu Kumar Verma - avatar
2 Answers
+ 3
If you want the width of a certain tag to be the width of a screen of any device, you Add this to this CSS width: 100%; Or width: 100vw Same for the height of tag but different unit height: 100%; Or height: 100vw
14th Sep 2020, 4:16 PM
Kayla Onobun (QOG)
Kayla Onobun (QOG) - avatar
+ 2
Thanks ☺️ for this...I tried this in my code...
14th Sep 2020, 4:20 PM
Vishnu Kumar Verma
Vishnu Kumar Verma - avatar