Skip to content

Instantly share code, notes, and snippets.

@unmaya
Created July 23, 2014 23:40
Show Gist options
  • Select an option

  • Save unmaya/fd3798157bf5f5a19d5b to your computer and use it in GitHub Desktop.

Select an option

Save unmaya/fd3798157bf5f5a19d5b to your computer and use it in GitHub Desktop.

Revisions

  1. unmaya revised this gist Jul 24, 2014. 1 changed file with 15 additions and 15 deletions.
    30 changes: 15 additions & 15 deletions SassMeister-input.scss
    Original file line number Diff line number Diff line change
    @@ -12,19 +12,19 @@ $block-medium-4: 283px;
    $block-large-2: 300px;

    .block {
    position: relative;
    float: left;

    &--medium-2 {
    height: $block-medium-2;
    }
    &--medium-3 {
    height: $block-medium-3;
    }
    &--medium-4 {
    height: $block-medium-4;
    }
    &--large-2 {
    height: $block-large-2;
    }
    position: relative;
    float: left;
    &--medium-2 {
    height: $block-medium-2;
    }
    &--medium-3 {
    height: $block-medium-3;
    }
    &--medium-4 {
    height: $block-medium-4;
    }
    &--large-2 {
    height: $block-large-2;
    }
    }
  2. unmaya created this gist Jul 23, 2014.
    30 changes: 30 additions & 0 deletions SassMeister-input.scss
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,30 @@
    // ----
    // Sass (v3.3.10)
    // Compass (v1.0.0.alpha.20)
    // ----

    // Mobile / Tablet Blocks
    $block-medium-2: 369px;
    $block-medium-3: 258px;
    $block-medium-4: 283px;

    // Desktop Block(s)
    $block-large-2: 300px;

    .block {
    position: relative;
    float: left;

    &--medium-2 {
    height: $block-medium-2;
    }
    &--medium-3 {
    height: $block-medium-3;
    }
    &--medium-4 {
    height: $block-medium-4;
    }
    &--large-2 {
    height: $block-large-2;
    }
    }
    16 changes: 16 additions & 0 deletions SassMeister-output.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    .block {
    position: relative;
    float: left;
    }
    .block--medium-2 {
    height: 369px;
    }
    .block--medium-3 {
    height: 258px;
    }
    .block--medium-4 {
    height: 283px;
    }
    .block--large-2 {
    height: 300px;
    }