RESPONSIVE WEBSITES | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 10

RESPONSIVE WEBSITES

Can we create Responsive Websites without using framework

23rd Apr 2017, 6:01 PM
Suyash Purwar
Suyash Purwar - avatar
7 Answers
+ 18
media queries are used to change the properties of HTML elements, according to the size of window in which it is opened. eg. you want your image to be shown with width:500px and height:500px, when the window you are using is desktop, but you can set the image size to width:250 and height:250 when window you're using is mobile. eg. @media screen and (max-width:250px) { img { width:250px; height:250px; } }
24th Apr 2017, 7:34 AM
Sachin Artani
Sachin Artani - avatar
24th Apr 2017, 11:00 AM
Sachin Artani
Sachin Artani - avatar
+ 14
Yes, using media queries
23rd Apr 2017, 6:36 PM
Sachin Artani
Sachin Artani - avatar
+ 13
can u send me a link of website from where i can learn it more briefly....
24th Apr 2017, 10:49 AM
Suyash Purwar
Suyash Purwar - avatar
+ 12
thank u a lot and i posted on more question can u tell me solution
24th Apr 2017, 11:01 AM
Suyash Purwar
Suyash Purwar - avatar
+ 10
what are media queries ?,,??
24th Apr 2017, 12:27 AM
Suyash Purwar
Suyash Purwar - avatar
+ 10
you can use % instead od px value
9th May 2017, 4:54 PM
Prashanth Kumar
Prashanth Kumar - avatar