If i have a website, can i make it mobilfriendly with only html and css, or i need more skills? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 13

If i have a website, can i make it mobilfriendly with only html and css, or i need more skills?

I haven't any website yet, but i mean its an intresting qestion.

2nd Mar 2017, 6:07 PM
repulotaska
repulotaska - avatar
53 Answers
+ 28
As @Mario said, HTML and CSS are fine enough but techniques such as grid-based layouts help. Bootstrap is a CSS framework which has pre-defined grid layouts and responsive styles in it so you can consider that too
2nd Mar 2017, 6:45 PM
Chirag Bhansali
Chirag Bhansali - avatar
+ 18
yes, html and css are enough to make a responsive website. take a look at media queries in css ;)
2nd Mar 2017, 6:12 PM
Mario L.
Mario L. - avatar
+ 13
I see a lot of people answering with you need Bootstrap or Foundation, or recommending using these things. But making a website mobile friendly is easy using simple class names and then in your CSS just defining the width, height, font-size, etc as a percentage or vw or vh measure. And making use of media queries. I try not to rely on bulky frameworks like Bootstap or Foundation. so short answer is yes, all you need is HTML and CSS.
12th Mar 2017, 12:57 AM
Mary-Ann Burton
Mary-Ann Burton - avatar
+ 9
I'd recommend using css framworks such as Bootstrap, Zurbs Foundation, Materialize, Etc. Since they have pre-defined grid layouts that are responsive. However, It is important to learn the basics of HTML, CSS and JS. This is so that you can overide anything once you start using a framework of your choice.
4th Mar 2017, 5:17 AM
Joshua Oducado
Joshua Oducado - avatar
+ 9
Yes you can, but it'll look a little static but if you want an interactive design you need to have at least one programming language in it.
4th Mar 2017, 10:03 PM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar
+ 5
Yes it is, google for viewports if you want to research. It is easy to implement in CSS!
3rd Mar 2017, 4:14 PM
Marcel Nuhst
Marcel Nuhst - avatar
+ 5
If you want to make your website mobile friendly first of all it should be written using sass which uses Ruby as its language.
4th Mar 2017, 8:56 AM
Harshed Abdulla
Harshed Abdulla - avatar
+ 5
Yes that is copy this code and placed in head section <meta name="viewport" content="width-device-width, initial-scale=1.0" />
12th Mar 2017, 5:37 PM
BBBB Ghh GgBB
+ 4
thank you everybody!
2nd Mar 2017, 8:49 PM
repulotaska
repulotaska - avatar
+ 4
u can use wordpress
4th Mar 2017, 8:49 AM
Dave
Dave - avatar
+ 4
You can use combination of Html and Css only to make mobile friendly website. You can use Media Queries in Css for responsive one, Or you can choose framework like bootstrap. In addition you may also use JavaScript for smooth performance.
5th Mar 2017, 6:51 AM
Puspa R. Rijal
Puspa R. Rijal - avatar
+ 4
Yes , you can create website based on div and CSS.but Bootstrap will help you to give best responsive effects and other features.
8th Mar 2017, 1:45 PM
Pooja
Pooja - avatar
+ 3
you have need to bootstrap and using container and class to make user friendly Web pages and it will supported all devices
4th Mar 2017, 1:53 AM
wixpay Online
wixpay Online - avatar
+ 3
Responsive website can u built by using framework like Bootstrap.
5th Mar 2017, 5:49 PM
Vinay Kumar.M
Vinay Kumar.M - avatar
+ 3
javascript may be needed in that case but then i think some knowledge on sass would also prove to be useful
7th Mar 2017, 12:34 PM
Charles Ruga G
Charles Ruga G - avatar
+ 3
Simple way : all in % and media queries to adjust the window on the screen size Other and more efficient way : Bootstrap, mobile application, mobile version ( an other page is loaded if screen < x pixels is detected ) Best way : all of it
15th Mar 2017, 3:30 PM
coutable.n
coutable.n - avatar
+ 2
ofcourse dude.
5th Mar 2017, 1:47 AM
Nicholas Cureton
Nicholas Cureton - avatar
+ 2
Yes u can, instead of using 'px' use % when defining width of the document. also u can learn bootstrap. it's simple and really helps u a lot.
6th Mar 2017, 7:26 AM
Wojtek Kasjaniuk
Wojtek Kasjaniuk - avatar
+ 2
you can use bootstrap or even semantics. Use inline styling to override bootstrap CSS or write your CSS for different screen sizes if u wish.
6th Mar 2017, 7:47 AM
Utkarsh Sahay
Utkarsh Sahay - avatar
+ 2
atleast you need bootstrap
6th Mar 2017, 11:56 AM
POJO
POJO - avatar