everycss-nested
Add support for nested rules
Last updated 6 years ago by cahnory .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install everycss-nested 
SYNC missed versions from official npm registry.

#EveryCSS-nested

Add support for nested rules.

li {
  a, abbr {
    color: blue;
  }

  // `&` usage
  &:before, &:after {
    content: '**';
  }
  
  fo {
    
  }

  // multiple `&` usage
  & > ul > & {
    list-style: circle;

    // deep nesting
    &:first-child {
      list-style: square;
    }
  }

  // back at root level
  @at-root {
    a {
      color: red;
    }
    abbr {
      color: #333;
    }
  }
}

Current Tags

  • 0.1.1                                ...           latest (6 years ago)

2 Versions

  • 0.1.1                                ...           6 years ago
  • 0.1.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (1)

Copyright 2014 - 2016 © taobao.org |