Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to turn on hover for specific elements on touch screens? #25

Open
SilencerWeb opened this issue Feb 23, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@SilencerWeb
Copy link

We are using postcss-hover-media-feature in our company and absolutely love it! But we ran in a case where we need to turn on hover for some specific elements on touch screens and I was wondering if it’s possible or not

@anova
Copy link

anova commented Sep 13, 2022

Hello @SilencerWeb

I have the same question and solved like this:

@media (hover: none), (hover: hover) {
  /* this rule is not processed by the postcss-hover-media-feature */
}

Regards.

@saulhardman saulhardman added the enhancement New feature or request label Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants