I have been working on a web page and finally made it responsive but how can i make it responsive for only computer, the min-computer will be a mini laptop. I have searched google for answers but still no help.
Thanks in advance.
I have been working on a web page and finally made it responsive but how can i make it responsive for only computer, the min-computer will be a mini laptop. I have searched google for answers but still no help.
Thanks in advance.
Use @media queries. To target medium screen devices use this
@media screen
and (min-device-width: 1200px)
and (max-device-width: 1600px)
and (-webkit-min-device-pixel-ratio: 1) {
}
/* ----------- Retina Screens ----------- */
@media screen
and (min-device-width: 1200px)
and (max-device-width: 1600px)
and (-webkit-min-device-pixel-ratio: 2)
and (min-resolution: 192dpi) {
}
Check here for device specific media queries: https://css-tricks.com/snippets/css/media-queries-for-standard-devices/