✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🧬 Learn how to build RNA-Seq data apps with Python & Dash. Register for the May 20 Webinar!

dcc.Dropdown align to centre

How does one align a dcc.Dropdown to the centre of a page?

see Center alignment for html.Div/dcc.Slider for a couple of examples

Thank you flyingcujo , I see the important point is style = {‘width’: ‘100%’, ‘display’: ‘flex’, ‘align-items’: ‘center’, ‘justify-content’: ‘center’}

1 Like