Client-side usage

Download the client-side version:
absurd.js
absurd.min.js

After that simply include the file into your page.

<script src="absurd.min.js"></script>

Initialize Absurd and use the API.

var api = Absurd();
api.add({
	body: {
		marginTop: "20px",
		p: {
			color: "#000"
		}
	}
});

Compile and get the CSS.

api.compile(function(err, css) {
	// use the compiled css
});

Client-side tests

Just download the files from the repository and open /client-side/tests in your browser.

/client-side/tests