Clone this repo:
  1. bf372d4 Enforce and fix prefer_typing_uninitialized_variables (#100) by Nate Bosch · 8 weeks ago master
  2. 75a88e8 Use explicit dynamic over void return types (#99) by Nate Bosch · 8 weeks ago
  3. c9528fc Add return types and remove local variable types (#98) by Nate Bosch · 9 weeks ago
  4. ec823a5 Fix a number of lints, disable a couple of lints that cannot be easily fixed (#97) by Kevin Moore · 9 weeks ago
  5. d2666a1 Delete codereview.settings by Kevin Moore · 7 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.