Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Object Style Sheets

This package provides some classes to help you create CSS statements at runtime in a easy way.

Usage

import * as OSS from '@singleware/oss';

const stylesheet = new OSS.Stylesheet();
const style = stylesheet.select('.my-class');

style.display = 'block';
style.padding = '1rem';
style.boxSizing = 'border-box';

const css = stylesheet.toString();

Install

Using npm:

npm i @singleware/oss

License

MIT © Silas B. Domingos

About

Object Style Sheets package.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages