I'm doing a mobile-first approach but now I need to target desktop browsers only to style the scrollbars in chrome.
@media (min-width: X)
isn't what I'm looking for, I really want to target the device@media not handheld
doesn't work because iOS and android think they're not handhelds
I know that @media only screen
should target mobile devices but what is the opposite? The closest I came was @media not only screen
but that doesn't work.
EDIT: To clarify. With mobile-first I mean that I don't want to style the scrollbars for all devices and then make an exception for mobile. I want it the other way around: mobile should be the default, desktops are the exception
EDIT 2: More clarification. I'm not looking to target desktop because of a breakpoint in size, I want to target capabilities and/or behaviour. For example, using the :hover selector on mobile is bad because touchscreens don't have mice but they DO activate that selector when you tap an element and then never de-activate it until you tap something else. They treat it as :focus. So I would not want to declare that except for desktop (again, desktop should be the exception here, not the other way around).