Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Latest commit

 

History

History
24 lines (17 loc) · 840 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 840 Bytes

Dart CI pub package package publisher

A Dart CSS parser.

Usage

Parsing CSS is easy!

import 'package:csslib/parser.dart';

void 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.