I was looking at the other dashboards in the gallery and I like how the New York Oil and Gas dashboard has all of the charts and features on their own backgrounds raised off the page whereas mine are all just blended in with the background. I was trying to go through the code to do that but it was a little too hard to follow for me. Would someone be able to point me in the direction of the documentation or styling that achieves this?
Here is an image of the dashboard I’m talking about
Ahh that’s why I couldn’t find it. I dont really know anythign at all about CSS so it might be above my paygrade. I know CSS if mostly for HTML styling and they allow for the use of it in Dash but is there a Python way to implement it?
I tried to add a few of what I guess would be the relevant box related css calls to my chart like so:
html.Div([
dcc.Graph(id=‘delta_graph’),
Was going to post something new about this and I supposed I should just let it go since it’s working but after reading the examples suggested in the styles documentation where it outlined that all python styles had to be camel cased. I’m trying to make sure I’m not doing something wrong b/c I happened to copy it from a css format but they still seem to be working.
I’ve been adjusting the margins using ‘margin-left’ and border-radius as well.
Does anyone know why they’re working when they’re not camelCased? Is it just a suggestion for consistency to differentiate between css and python styling?