Bring Drag & Drop to Dash with Dashboard Engine. 💫 Learn how at our next webinar!

Stting background of web page in dash app

This is a very basic question but not knowing html I cant answer it.
How to set background color for the whole page when using Dash?

To clarify - I’m not talking about background of the main Div, that I can do. How to set color of a page in a browser when your html.Div from Dash takes only 1/4 of a page height? Is it possible at all in py code.

You need to include your html.Div that takes only 1/4 of the page into another html.Div that includes the whole page and style each one as you want.

Had to figure out which code works and which does not. I got it working. Thanks,