Nathaniel Kessler
Nathaniel Kessler

Reputation: 1

Target Chrome and safari, but not Safari on iphone or ipads?

Is there anyway (with CSS only) to target chrome and safari, but not safari on the iphone or ipads?

Upvotes: 0

Views: 335

Answers (2)

teriiehina
teriiehina

Reputation: 4761

you can use media queries:

CSS2:

<link rel="stylesheet" media="screen and (min-width: 1024px)" href="desktop.css" type="text/css" />

CSS3:

<link rel="stylesheet" media="screen and not handheld" href="desktop.css" type="text/css" />

Upvotes: 1

kravemir
kravemir

Reputation: 10996

What about specifying it with css media.

Upvotes: 0

Related Questions