Skip to content

Instantly share code, notes, and snippets.

@dsdsdsdsdsds
Last active August 14, 2017 21:10
Show Gist options
  • Select an option

  • Save dsdsdsdsdsds/edecc3c8360198343e96 to your computer and use it in GitHub Desktop.

Select an option

Save dsdsdsdsdsds/edecc3c8360198343e96 to your computer and use it in GitHub Desktop.

Revisions

  1. dsdsdsdsdsds revised this gist Aug 14, 2017. 1 changed file with 4 additions and 8 deletions.
    12 changes: 4 additions & 8 deletions list.scss
    Original file line number Diff line number Diff line change
    @@ -1,19 +1,15 @@
    $list-indent: 1em;

    ul {
    // Reset default styles
    position: relative;
    margin-left: 0;
    padding-left: 0;
    padding-left: 1em;
    list-style-type: none;

    li {
    position: relative;
    margin-left: $list-indent;

    &:before {
    position: absolute;
    left: -$list-indent;
    content: "?";
    position: absolute;
    left: 0;
    }
    }
    }
  2. dsdsdsdsdsds revised this gist Mar 20, 2016. No changes.
  3. dsdsdsdsdsds created this gist Mar 20, 2016.
    19 changes: 19 additions & 0 deletions list.scss
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    $list-indent: 1em;

    ul {
    // Reset default styles
    margin-left: 0;
    padding-left: 0;
    list-style-type: none;

    li {
    position: relative;
    margin-left: $list-indent;

    &:before {
    position: absolute;
    left: -$list-indent;
    content: "?";
    }
    }
    }