Skip to content

Instantly share code, notes, and snippets.

@OliverBrotchie
Last active Jun 18, 2021
Embed
What would you like to do?
CSS exfiltration example
.pointer {
background-image: url('/some/url/pointer=none')
}
// Coarse (touchscreen)
@media (any-pointer: coarse){
.pointer {
background-image: url('/some/url/pointer=coarse')
}
}
// Fine (mouse)
@media (any-pointer: fine){
.pointer {
background-image: url('/some/url/pointer=fine')
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment