Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Replace CSS with Javascript

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 README.md
Octocat-spinner-32 demo.html
Octocat-spinner-32 jstyle.js
Octocat-spinner-32 jstylePlugins.js
README.md

jstyle - Replace CSS by Javascript

 

We wanted to have some dynamic parts in our CSS, but since we are client side for these things, we needed something on the browser
jstyle is that. A tiny library that build a stylesheet from a JSON definition.
The advantages:

  • Very small foot print added to a current css (~1.2 Kb)
  • Use variables
  • Use functions
  • Similar syntax as the usual css
  • Add browser specific logic
  • Use iterations

Copyright (c) 2010 BeeBole. All Rights Reserved jstyle is an Open Source Software. You can use, redistribute and/or modify it under the terms of the MIT Licence.

Something went wrong with that request. Please try again.