csslib 0.17.1 copy "csslib: ^0.17.1" to clipboard
csslib: ^0.17.1 copied to clipboard

outdated

A library for parsing and analyzing CSS (Cascading Style Sheets)

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.

43
likes
0
pub points
100%
popularity

Publisher

verified publishertools.dart.dev

A library for parsing and analyzing CSS (Cascading Style Sheets)

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

source_span

More

Packages that depend on csslib