commit | e411d862fd8cc50415c1badf2632e017373b3f47 | [log] [tgz] |
---|---|---|
author | Ted Sander <tsander@google.com> | Tue Dec 22 10:49:37 2020 -0800 |
committer | Leon Senft <leonsenft@users.noreply.github.com> | Wed Dec 23 11:43:12 2020 -0800 |
tree | bb01465078390d27d00a7496d1b51ba063a8607d | |
parent | 29763d6c530cec001ed05c8bb553064ecd104c49 [diff] |
Add a psuedo compound selector global-context Add global-context to process it's compound selector. This will be used in the angular.dart framework to handle another encapsulation scenario.
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 }'); print(stylesheet.toDebugString()); }
You can pass a String
or List<int>
to parse
.