Safari Code

Safari Code

-webkit-device-pixel-ratio is a non-standard boolean CSS media feature which is an alternative to the standard resolution media feature.

Its value is the number of device pixels used to represent each CSS px. Although the value is a and thus doesn’t syntactically allow units, its implicit unit is dppx.

@media screen and (-webkit-min-device-pixel-ratio:0) {

}

Was this article helpful?

Related Articles