+ 10
RESPONSIVE WEBSITES
Can we create Responsive Websites without using framework
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;
}
}
+ 14
Yes, using media queries
+ 13
can u send me a link of website from where i can learn it more briefly....
+ 12
thank u a lot
and i posted on more question can u tell me solution
+ 10
what are media queries ?,,??
+ 10
you can use % instead od px value