Sha256: 8a45e612ca698d1e33159151556fbc6dbc202a29fb0d89ef0939670c0de6bf1d

Contents?: true

Size: 641 Bytes

Versions: 5

Compression:

Stored size: 641 Bytes

Contents

Play with the window with to see the following code in action:

<style>
  pre {
    background-color: #333;
    color: #eee;
    padding-right: 1em;
    padding-left: 1em;
  }
</style>

<pre>
<code>
$xl: 1200 !default;
$lg:  960 !default;
$md:  720 !default;
$sm:  600 !default;
$xs:  480 !default;

@import "minions_rails/mixins/before";

body {
  /* ORDER IS IMPORTANT */
  @include before(xs) { background-color: red }
  @include before(sm) { background-color: blue }
  @include before(md) { background-color: orange }
  @include before(lg) { background-color: purple }
  @include before(xl) { background-color: yellow }
}
</code>
</pre>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
minions_rails-0.0.8 test/dummy/app/views/pages/before_mixin.html.erb
minions_rails-0.0.7 test/dummy/app/views/pages/before_mixin.html.erb
minions_rails-0.0.6 test/dummy/app/views/pages/before_mixin.html.erb
minions_rails-0.0.5 test/dummy/app/views/pages/before_mixin.html.erb
minions_rails-0.0.4 test/dummy/app/views/pages/before_mixin.html.erb