Layout von Websiten mit Bootstrap und Foundation
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_hover.scss 757B

12345678910111213141516171819202122232425262728293031323334353637
  1. // Hover mixin and `$enable-hover-media-query` are deprecated.
  2. //
  3. // Originally added during our alphas and maintained during betas, this mixin was
  4. // designed to prevent `:hover` stickiness on iOS-an issue where hover styles
  5. // would persist after initial touch.
  6. //
  7. // For backward compatibility, we've kept these mixins and updated them to
  8. // always return their regular pseudo-classes instead of a shimmed media query.
  9. //
  10. // Issue: https://github.com/twbs/bootstrap/issues/25195
  11. @mixin hover() {
  12. &:hover { @content; }
  13. }
  14. @mixin hover-focus() {
  15. &:hover,
  16. &:focus {
  17. @content;
  18. }
  19. }
  20. @mixin plain-hover-focus() {
  21. &,
  22. &:hover,
  23. &:focus {
  24. @content;
  25. }
  26. }
  27. @mixin hover-focus-active() {
  28. &:hover,
  29. &:focus,
  30. &:active {
  31. @content;
  32. }
  33. }