_stretched-link.scss 431 B

12345678910111213141516171819
  1. //
  2. // Stretched link
  3. //
  4. .stretched-link {
  5. &::after {
  6. position: absolute;
  7. top: 0;
  8. right: 0;
  9. bottom: 0;
  10. left: 0;
  11. z-index: 1;
  12. // Just in case `pointer-events: none` is set on a parent
  13. pointer-events: auto;
  14. content: "";
  15. // IE10 bugfix, see https://stackoverflow.com/questions/16947967/ie10-hover-pseudo-class-doesnt-work-without-background-color
  16. background-color: rgba(0, 0, 0, 0);
  17. }
  18. }