Sha256: 26fdb6fed6b701f24e874aca1583a00a178be0d754082e6f0821ecb102f3ba61
Contents?: true
Size: 658 Bytes
Versions: 2
Compression:
Stored size: 658 Bytes
Contents
// Set all the colors for a link with one mixin call. // Order of arguments is: // // 1. normal // 2. hover // 3. active // 4. visited // 5. focus // // Those states not specified will inherit. // Mixin to an anchor link like so: // a // +link-colors(#00c, #0cc, #c0c, #ccc, #cc0) @mixin link-colors($normal, $hover: false, $active: false, $visited: false, $focus: false) { color: $normal; @if $visited { &:visited { color: $visited; } } @if $focus { &:focus { color: $focus; } } @if $hover { &:hover { color: $hover; } } @if $active { &:active { color: $active; } } }
Version data entries
2 entries across 2 versions & 1 rubygems