Sha256: 83aa9b9f7040f8990592aba1597d1a9ba08635e4d69079c9b84c015f7279b889

Contents?: true

Size: 984 Bytes

Versions: 54

Compression:

Stored size: 984 Bytes

Contents

// Implementation of float:left with fix for the
// [double-margin bug in IE5/6](http://www.positioniseverything.net/explorer/doubled-margin.html)
@mixin float-left {
  @include float(left); }

// Implementation of float:right with fix for the
// [double-margin bug in IE5/6](http://www.positioniseverything.net/explorer/doubled-margin.html)
@mixin float-right {
  @include float(right); }

// Direction independent float mixin that fixes the
// [double-margin bug in IE5/6](http://www.positioniseverything.net/explorer/doubled-margin.html)
@mixin float($side: left) {
  display: inline;
  float: unquote($side); }

// Resets floated elements back to their default of `float: none` and defaults
// to `display: block` unless you pass `inline` as an argument
//
// Usage Example:
//
//     body.homepage
//       #footer li
//         +float-left
//     body.signup
//       #footer li
//         +reset-float
@mixin reset-float($display: block) {
  float: none;
  display: $display; }

Version data entries

54 entries across 53 versions & 10 rubygems

Version Path
comixins-0.1.2 vendor/assets/stylesheets/compass/utilities/general/_float.scss
egghead-styles-1.0.82 app/assets/stylesheets/plugins/compass/compass/utilities/general/_float.scss
egghead-styles-1.0.81 app/assets/stylesheets/plugins/compass/compass/utilities/general/_float.scss
egghead-styles-1.0.80 app/assets/stylesheets/plugins/compass/compass/utilities/general/_float.scss
egghead-styles-1.0.79 app/assets/stylesheets/plugins/compass/compass/utilities/general/_float.scss
egghead-styles-1.0.78 app/assets/stylesheets/plugins/compass/compass/utilities/general/_float.scss
egghead-styles-1.0.77 app/assets/stylesheets/plugins/compass/compass/utilities/general/_float.scss
egghead-styles-1.0.76 app/assets/stylesheets/plugins/compass/compass/utilities/general/_float.scss
egghead-styles-1.0.75 app/assets/stylesheets/plugins/compass/compass/utilities/general/_float.scss
egghead-styles-1.0.74 app/assets/stylesheets/plugins/compass/compass/utilities/general/_float.scss
egghead-styles-1.0.73 app/assets/stylesheets/plugins/compass/compass/utilities/general/_float.scss
ghost-manager-1.0.0 magneto/source/assets/bower_components/compass-mixins/lib/compass/utilities/general/_float.scss
compass-0.12.7 frameworks/compass/stylesheets/compass/utilities/general/_float.scss
sadui-0.0.4 vendor/bundle/ruby/2.1.0/gems/compass-0.12.3/frameworks/compass/stylesheets/compass/utilities/general/_float.scss
sadui-0.0.4 vendor/bundle/ruby/2.0.0/gems/compass-0.12.3/frameworks/compass/stylesheets/compass/utilities/general/_float.scss
compass-0.12.6 frameworks/compass/stylesheets/compass/utilities/general/_float.scss
compass-0.12.5 frameworks/compass/stylesheets/compass/utilities/general/_float.scss
compass-0.12.4 frameworks/compass/stylesheets/compass/utilities/general/_float.scss
compass-0.12.3 frameworks/compass/stylesheets/compass/utilities/general/_float.scss
compass-sourcemaps-0.12.4.sourcemaps.a4836f1 frameworks/compass/stylesheets/compass/utilities/general/_float.scss