Here’s how I did it:
@media (pointer:none), (pointer:coarse) {
}
More Related Contents:
- What is the exact screen width and height of a phone? [duplicate]
- Media Queries: How to target desktop, tablet, and mobile?
- Can media queries resize based on a div element instead of the screen?
- What is the difference between max-device-width and max-width for mobile web?
- What is the difference between “screen” and “only screen” in media queries?
- Twitter Bootstrap 3: how to use media queries?
- CSS @media print issues with background-color;
- CSS media queries: max-width OR max-height
- Common breakpoints for media queries on a responsive site
- Nesting @media rules in CSS
- Should I use max-device-width or max-width?
- What are the rules for CSS media query overlap?
- @Media min-width & max-width
- CSS specificity, Media Queries and min-width
- CSS media queries – Order matters?
- Extending selectors from within media queries with Sass
- Responsive css styles on mobile devices ONLY
- Media query not working in IE9
- IE7, IE8 support for css3 media query [duplicate]
- Max-Width vs. Min-Width
- How to detect if the OS is in dark mode in browsers?
- How to make responsive table [closed]
- How to code CSS media queries targeting ALL mobile devices and tablets?
- How to control number of items per row using media queries in Flexbox?
- How do I combine two media queries?
- Media Query grouping instead of multiple scattered media queries that match
- Bootstrap – Removing padding or margin when screen size is smaller
- Media queries and background images
- Media Queries – Mobile vs Desktop Browser
- @media media query and ASP.NET MVC razor syntax clash