+ 9

How to set my webpage to have a perfect size for all devices?

Hello everyone! I faced another problem today, when I wrote everything in Solo Learn using my phone and the look and size was perfect. The problem occurred when I tried to use the same codes to see the look of my webpage on my Laptop. I have to rewrite some codes, and that made me feel bad. Can someone share something with me to solve the problem?? Even piece of codes and links will mean the world.. ..............................Thank You.....................

3rd Feb 2018, 12:23 PM
optimist programmer
optimist programmer - avatar
6 ответов
+ 9
@Bagshot hope I will get what I am looking for Thank you
3rd Feb 2018, 12:55 PM
optimist programmer
optimist programmer - avatar
+ 7
I already know how to make responsive websites.
15th Feb 2018, 10:55 AM
optimist programmer
optimist programmer - avatar
+ 6
@Bagshot oh! that is it! let me check
3rd Feb 2018, 7:30 PM
optimist programmer
optimist programmer - avatar
+ 3
Search code playground for "responsive" and you should find what you're looking for, then study the code. Good luck. Edit: I found this and it seems to be a great example of responsive design. https://code.sololearn.com/WToZB17wyNzR/?ref=app
3rd Feb 2018, 12:53 PM
Bagshot
Bagshot - avatar
+ 2
using bootstrap
4th Feb 2018, 2:41 AM
Jiaxiang Tang
Jiaxiang Tang - avatar
- 1
Include this code in your CSS .body{width: height:}; Put the size of your device respectively
4th Feb 2018, 4:16 AM
Amoke Kingsley Chibuike
Amoke Kingsley Chibuike - avatar