Black Lives Matter. Please consider donating to Black Girls Code today.

Understanding css and stylesheets

I don’t understand what a stylesheet is. I’ve been looking at some dashboards in the dash app gallery, and don’t see a stylesheet listed the same way in the app=dash.Dash(…) line the way it is done in the tutorials.

If I wanted to copy a style for a dashboard online, is there someway I can download their stylesheet?

For example: https://dash-gallery.plotly.host/dash-web-trader/

Thanks!

Hi @ilemi, https://dash.plot.ly/external-resources explains how to use css in your Dash app (if you’re completely new to CSS, you might want to read https://www.w3schools.com/css/). The source code of the app you linked to is on https://github.com/plotly/dash-sample-apps/tree/master/apps/dashr-web-trader (I think, not 100% sure), the stylesheet is https://github.com/plotly/dash-sample-apps/blob/master/apps/dash-web-trader/assets/style.css