csslib 0.17.0
csslib: ^0.17.0 copied to clipboard

Dart native js
Flutter Android iOS Linux macOS web Windows

A library for parsing CSS.

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 }');

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