https://github.com/carbon/css
Native CSS parser and SCSS compiler for .NETSTANDARD.
https://github.com/carbon/css
autoprefixer css netstandard scss
Last synced: 9 months ago
JSON representation
Native CSS parser and SCSS compiler for .NETSTANDARD.
- Host: GitHub
- URL: https://github.com/carbon/css
- Owner: carbon
- License: mit
- Created: 2012-07-24T19:36:52.000Z (almost 14 years ago)
- Default Branch: main
- Last Pushed: 2025-07-05T03:33:36.000Z (about 1 year ago)
- Last Synced: 2025-09-23T21:54:29.134Z (9 months ago)
- Topics: autoprefixer, css, netstandard, scss
- Language: C#
- Homepage:
- Size: 1.82 MB
- Stars: 19
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Carbon.Css
A general purpose CSS parser, auto-prefixer, and SCSS compiler for .NET Standard.
# Usage
```
var css = StyleSheet.Parse(@"
//= support Safari 5+
$backgroundColor: #000;
html {
background: $backgroundColor;
font-size: 14px;
}
");
var writer = new StringWriter();
css.WriteTo(writer);
```