I dont see a padding parameter. How do I create a little spacing between elements in the same Div and elements outside of the Div?
You can use css with the style
parameter. See https://plot.ly/dash/getting-started for more details. In this case, it would look something like html.Div(..., style={'padding': 10})
.
7 Likes