Advertisement
Guest User

Untitled

a guest
Oct 26th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.73 KB | None | 0 0
  1. .repeated-prefix {
  2.     position: relative;
  3.     display: block;
  4. }
  5.  
  6. .repeated-prefix span {
  7.     position: absolute;
  8.     right: 1000px;
  9. }
  10.  
  11. .repeated-prefix span:nth-last-of-type(2):after {
  12.     content:"↪";
  13.     position: absolute;
  14.     right: -1000px;
  15. }
  16.  
  17. .repeated-prefix span:nth-last-of-type(2):hover:after,
  18. .repeated-prefix span:nth-last-of-type(2):active:after,
  19. .repeated-prefix span:nth-last-of-type(2):focus:after {
  20.     background: var(--base03);
  21.     text-decoration: underline;
  22.     text-decoration-color: var(--base0D);
  23. }
  24.  
  25. .repeated-prefix span.highlight {
  26.     position: initial;
  27.     left: initial;
  28. }
  29.  
  30. .repeated-prefix span.highlight:after {
  31.     content: initial;
  32.     position: initial;
  33.     left: initial;
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement