I am trying to center a image when doing the flask dash app, here is my code:
import dash
from dash import html, dcc
import dash_bootstrap_components as dbc
app = dash.Dash(__name__)
app.layout = html.Div([
dbc.CardImg(src=r'assets/welcome.png', className = 'align-self-center')
])
if __name__ == '__main__':
app.run_server(debug=True)
but this is not work for me, the image is still on the left not centered.