+ 1
How can make a website interactive
I need the code that will enable my website to automatically fit into screen size coz currently it only fits into pc screen
5 Answers
+ 1
Thanks alot
0
Put the following in your <head> tag:
<meta name="viewport" content="width=device-width, initial-scale=1">
0
You need something like a responsive design.
Look for "grid" or for "12-colum" responsive design in google.
0
Dragonxiv makes a good point.
If the Meta didn't do what it had to do.
Look at your code and make sure that it's interactive according to your needs.
Bootstrap is a very fun and easy way to make it interactive.
0
Use measurement that works well with the view port like view height (vh), view width (vw), etc. Avoid using px. Also use maximum width in percentage instead of just width for display