-6

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.

wazz
  • 4,953
  • 5
  • 20
  • 34
jstn
  • 11
  • 3

1 Answers1

2

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/

samuellawrentz
  • 1,662
  • 11
  • 23