Sha256: eb2fbbedd642e32bc13a8f99cb849806f6ca3d00d1e3856a758195a9dda1d816
Contents?: true
Size: 1.01 KB
Versions: 301
Compression:
Stored size: 1.01 KB
Contents
//// /// @group tools //// /// Conditionally include rules only for IE8 /// /// @content Passed content is only outputted if we're compiling a stylesheet /// that targets IE8 (if `$govuk-is-ie8` is true) /// /// @example scss - Usage /// /// .foo { /// min-width: 100px; /// // Specify width for IE8 only /// @include govuk-if-ie8 { /// width: 100px; /// } /// } /// /// @access public @mixin govuk-if-ie8 { @if $govuk-is-ie8 { @content; } } /// Conditionally exclude rules for IE8 /// /// @content Passed content is only outputted if we're not compiling a /// stylesheet that targets IE8 (if `$govuk-is-ie8` is false) /// /// @example scss - Usage /// /// .foo { /// font-weight: bold; /// /// // Enhance foo only for modern browsers (not IE8) /// @include govuk-not-ie8 { /// font-family: "Comic Sans MS", "Curlz MT" cursive, sans-serif; /// color: #FF69B4; /// } /// } /// /// @access public @mixin govuk-not-ie8 { @if not $govuk-is-ie8 { @content; } }
Version data entries
301 entries across 301 versions & 4 rubygems