It is recommended to add __name__ to the Dash constructor to ensure the resources in the assets folder are loaded app = dash.Dash(__name__, meta_tags=[...])
Thanks @PyGuy! Meta tags is not help. I think I found the problem in VScode. Dash only recognizes the CSS if I start the server from two places with the play button. I’m investigating why now. It might be an extension setting problem.