×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: CSS
Posted by: Lori DK
Added: Oct 12, 2016 7:54 PM
Modified: Oct 12, 2016 7:58 PM
Views: 16
  1. @mixin links($color) {
  2.   /* unvisited link */
  3.   a:link {
  4.     color: $color;
  5.   }
  6.  
  7.   /* visited link */
  8.   a:visited {
  9.     color: $color;
  10.   }
  11.  
  12.   /* mouse over link */
  13.   a:hover {
  14.     color: $color;
  15.   }
  16.  
  17.   /* selected link */
  18.   a:active {
  19.     color: $color;
  20.   }
  21. }
  22.  
  23.  
  24. @include links(#ffffff);