Sha256: 308e648b1855a43ec49c8f9a3ab846b39b2476a2f3219724b2da6f13e0ba4e57
Contents?: true
Size: 555 Bytes
Versions: 2
Compression:
Stored size: 555 Bytes
Contents
// Classes that are useful for controlling what gets printed. // You must mix `+print-utilities` into your print stylesheet // and `+print-utilities(screen)` into your screen stylesheet. // Note: these aren't semantic. @mixin print-utilities($media: print) { @if $media == print { .noprint, .no-print { display: none; } #{elements-of-type(block)} { &.print-only { display: block; } } #{elements-of-type(inline)} { &.print-only { display: inline; } } } @else { .print-only { display: none; } } }
Version data entries
2 entries across 2 versions & 1 rubygems