styles =================== domonic supports the style attribute. Styling Elements ---------------- Styling gets passed to the style tag on render. .. code-block :: python mytag = div("hi", _id="test") mytag.style.backgroundColor = "black" mytag.style.fontSize = "12px" print(mytag) #
hi
CSSOM is also stubbed out. See the styles.py class. Feel free to make a PR stylesheets ---------------- .. code-block :: python from domonic.window import * window.location = "https://www.facebook.com" window.document.stylesheets .. automodule:: domonic.style :members: :noindex: