Clone this repo:
  1. dcedb11 Fix readme by Kevin Moore · 9 days ago master
  2. c6ae3a8 prepare to publish by Kevin Moore · 9 days ago 0.15.0
  3. 3efc8bd Remove args and logging deps, along with other cleanup (#90) by Kevin Moore · 9 days ago
  4. 44634b7 Enable lints, fix formatting, test on oldest supported SDK (#89) by Kevin Moore · 11 days ago
  5. df499df Merge pull request #87 from srawlins/dart-doc-comments by Sam Rawlins · 3 months ago

A Dart CSS parser.


Parsing CSS is easy!

import 'package:csslib/parser.dart';

main() {
  var stylesheet = parse(
      '.foo { color: red; left: 20px; top: 20px; width: 100px; height:200px }');

You can pass a String or List<int> to parse.