Skip to content

Instantly share code, notes, and snippets.

@shahab570
Last active January 17, 2021 13:49
Show Gist options
  • Select an option

  • Save shahab570/007a354a142b9ff36949054236c74383 to your computer and use it in GitHub Desktop.

Select an option

Save shahab570/007a354a142b9ff36949054236c74383 to your computer and use it in GitHub Desktop.

Revisions

  1. shahab570 revised this gist Jan 17, 2021. 1 changed file with 10 additions and 7 deletions.
    17 changes: 10 additions & 7 deletions a
    Original file line number Diff line number Diff line change
    @@ -1,12 +1,15 @@

    @include media(400px) {
    background-color: red;
    .box {
    background-color: red;
    }
    }

    @include media(800px) {
    background-color: blue;
    .box {
    background-color: blue;
    }
    }

    @include media(1200px) {
    background-color: yellow;
    }
    .box {
    background-color: yellow;
    }
    }
  2. shahab570 created this gist Jan 17, 2021.
    12 changes: 12 additions & 0 deletions a
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@

    @include media(400px) {
    background-color: red;
    }

    @include media(800px) {
    background-color: blue;
    }

    @include media(1200px) {
    background-color: yellow;
    }