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

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

Dart CI pub package package publisher

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
140
pub points
100%
popularity

Publisher

verified publishertools.dart.dev

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

Repository (GitHub)
View/report issues

Topics

#css

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

source_span

More

Packages that depend on csslib