Skip to content

Instantly share code, notes, and snippets.

@robinrendle
Created January 20, 2015 12:52
Show Gist options
  • Select an option

  • Save robinrendle/dcd985f71803ddd6cb97 to your computer and use it in GitHub Desktop.

Select an option

Save robinrendle/dcd985f71803ddd6cb97 to your computer and use it in GitHub Desktop.

Revisions

  1. Robin Rendle created this gist Jan 20, 2015.
    10 changes: 10 additions & 0 deletions trim.scss
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    // stolen from @charlotte_dann : https://twitter.com/charlotte_dann/status/557511812430983168

    @mixin trim(){
    > *:first-child {

    }
    > *:last-child {
    margin-bottom: 0;
    }
    }