Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.
/ css2json.py Public archive

Convert style sheets to json. Python clone of kesla/css2json

License

Notifications You must be signed in to change notification settings

kaiix/css2json.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

css2json.py

PyPI version

Convert style sheets to json. Python clone of kesla/css2json

Install

pip install css2json

Usage

>>> import css2json
>>> css2json.css2json("""
... p {
...     color: #222;
...     margin: 10px;
... }
... """)
'{"p": {"color": "#222", "margin": "10px"}}'
>>>

About

Convert style sheets to json. Python clone of kesla/css2json

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published