Sha256: dd040d655b19032725fdf0a39443ee89b71639bdf480bdcd295a26a09281cbdb

Contents?: true

Size: 597 Bytes

Versions: 7

Compression:

Stored size: 597 Bytes

Contents

// This mixin causes an element matching the selector
// to gain the "hasLayout" property in internet explorer.
// More information on [hasLayout](http://reference.sitepoint.com/css/haslayout).
@mixin has-layout {
  // This makes ie6 get layout
  display: inline-block;
  // and this puts it back to block
  & {
    display: block; } }

// A hack to supply IE6 (and below) with a different property value.
// [Read more](http://www.cssportal.com/css-hacks/#in_css-important).
@mixin bang-hack($property, $value, $ie6-value) {
  #{$property}: #{$value} !important;
  #{$property}: #{$ie6-value}; }

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
compass-0.10.3.pre.1 frameworks/compass/stylesheets/compass/utilities/general/_hacks.scss
compass-0.10.2 frameworks/compass/stylesheets/compass/utilities/general/_hacks.scss
compass-0.10.1 frameworks/compass/stylesheets/compass/utilities/general/_hacks.scss
compass-0.10.0 frameworks/compass/stylesheets/compass/utilities/general/_hacks.scss
compass-0.10.0.rc6 frameworks/compass/stylesheets/compass/utilities/general/_hacks.scss
compass-0.10.0.rc5 frameworks/compass/stylesheets/compass/utilities/general/_hacks.scss
compass-0.10.0.rc4 frameworks/compass/stylesheets/compass/utilities/general/_hacks.scss