Skip to content

Want to make your css in python? Look no further than css.py!

Notifications You must be signed in to change notification settings

VILELABS/css.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

css.py

Want to make your css in python? Look no further than css.py!

Example Usage

from css import *

css = CSS({
    'body': {
        'background-color': Hex('000000'),
        'color': Hsl(0, 0, 0),
        'font-family': 'Arial',
        'font-size': px(12),
        'font-style': italic,
        'font-weight': bold,
        'text-align': center,
        'text-decoration': underline,
        'text-transform': uppercase,
    },
    'p': {
        'font-size': px(14),
        'font-style': normal,
        'font-weight': normal,
        'text-align': left,
        'text-decoration': none,
        'text-transform': lowercase,
    },
})

About

Want to make your css in python? Look no further than css.py!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published