Skip to content

Instantly share code, notes, and snippets.

@thelitek
Created April 9, 2021 15:17
Show Gist options
  • Select an option

  • Save thelitek/b4ad92af853eb02cb282a12c0d9958d3 to your computer and use it in GitHub Desktop.

Select an option

Save thelitek/b4ad92af853eb02cb282a12c0d9958d3 to your computer and use it in GitHub Desktop.

Revisions

  1. thelitek created this gist Apr 9, 2021.
    11 changes: 11 additions & 0 deletions input.scss
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    .text {
    padding-top:1px;

    @media (min-width: 500px) {
    padding-top:2px;

    .hasExtraInfo & {
    padding-top: 10px;
    }
    }
    }
    12 changes: 12 additions & 0 deletions output.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    .text {
    padding-top: 1px;
    }

    @media (min-width: 500px) {
    .text {
    padding-top: 2px;
    }
    .hasExtraInfo .text {
    padding-top: 10px;
    }
    }
    9 changes: 9 additions & 0 deletions settings.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    {
    "sass": {
    "compiler": "libsass/3.5.5",
    "extensions": {},
    "syntax": "SCSS",
    "outputStyle": "expanded"
    },
    "autoprefixer": false
    }