Clone this repo:
  1. 781be29 Merge pull request #120 from dart-lang/kevmoo-patch-1 by Jacob MacDonald · 3 weeks ago master
  2. 324c952 Delete .test_config by Kevin Moore · 3 weeks ago
  3. 8c15319 Update SDK constraint and remove unneeded dependency overrides (#119) by Kevin Moore · 4 weeks ago
  4. 6f77b3d Remove unnecessary cast. (#117) by Paul Berry · 9 weeks ago
  5. 452a2e5 fix formatting (#115) by Kevin Moore · 3 months ago

A Dart CSS parser.

Usage

Parsing CSS is easy!

import 'package:csslib/parser.dart';

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

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