+ 1

Responsive webpage

Hy.i need your help regarding responsive web design.how to create a simple responsive web page using html and css that work on multiple devices. can any one guide me.

9th Jun 2017, 1:35 PM
malik muhammad ali
malik muhammad ali - avatar
4 Respostas
+ 1
u can use media queries of CSS.. like for example at the end of CSS file write @media only screen and (max-width: 500px) { body { background-color: lightblue; } } similarly u can use the Id and class in the media query and define its properties for the screen size of 500px
9th Jun 2017, 1:41 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
+ 1
use bootstrap. Bootstrap is responsive and mobile friendly. to use bootstrap, add this in your head tag <link rel="stylesheet" href ="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> else learn how you work with bootstrap, it will make your life easier when designing responsive websites.
9th Jun 2017, 5:48 PM
Avic Ndugu
Avic Ndugu - avatar
+ 1
can i use custom bootstrap?????
9th Jun 2017, 6:31 PM
malik muhammad ali
malik muhammad ali - avatar
+ 1
@malik bootstrap is designed for ready use. you will still style your page using CSS, bootstrap will takes care of responsiveness on different screen sizes. So you can customize how your site looks even when using bootstrap.
9th Jun 2017, 7:12 PM
Avic Ndugu
Avic Ndugu - avatar