✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🧬 Learn how to build RNA-Seq data apps with Python & Dash. Register for the May 20 Webinar!

Dash HTML Components Style Properties

Hi, I’m just new here and started using a Dash App for a donations system.

I’d like to ask how do I find or print the list of all properties for the styles attribute in Dash HTML components?

Hi @pampam07 welcome to the forum! The easiest method is probably to do “inspect element” by right-clicking on the element inside your browser. This will also give you the name of the corresponding html element (which is usually a straightforward correspondence with the name of the Python object), and then w3schools pages list the different css properties of a given element, for example https://www.w3schools.com/css/css3_images.asp

1 Like

Wow! This is so helpful! Thank you Emmanuelle!