Media Queries for HTMl Elements. For example :
.container(min-width: 500px)
{
.wid-sm {width: 200px;}
}
I want to make the element responsive like Media Queries. kindly provide me the solution.
Media Queries for HTMl Elements. For example :
.container(min-width: 500px)
{
.wid-sm {width: 200px;}
}
I want to make the element responsive like Media Queries. kindly provide me the solution.
You can specify the css for different resolution like this:
@media (max-width: 600px) {
.wid-sm {width: 200px;}
}
@media (min-width: 600px and max-width: 800) {
.wid-sm {width: 350px;}
}