Socket
Socket
Sign inDemoInstall

css.js

Package Overview
Dependencies
0
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    css.js

Write CSS in Javascript, Cofeescript, or other JS flavours


Version published
Weekly downloads
2
decreased by-88.89%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

css.js

With all the great css in js tools available today this lib has become totally deprecated. I'll leave it here for some time before removing the repo.

Write CSS with Javascript, Coffeescipt or any other JS flavour

Use css.js to write your CSS in Javascript, having all benefits from a programming language at your disposal.


Key features:

  • virtually eliminate the need for external .css files
  • use variables, databases, sockets, or whatever you need for your CSS
  • work with Number values instead of 'px'/unit juggling
  • fetch any CSS value with ease, in number or string format, with or without unit
  • fetch a specific CSS rule, or fetch 'deep' all rules down the hierarchy
  • dynamically add/change/remove CSS while keeping the DOM in sync
  • set listeners on rules, selectors, properties, and listen 'deep' if you need to
  • support for @keyframes and @media queries
  • build-in prettifier for debugging

Keywords

FAQs

Last updated on 13 Apr 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc