i am trying to replicate basic examples from input group page of dash_bootstrap_components
available on documentation website of input group page. i couldn’t find .css files containing “.mb-3” class in a .css file on github page(i found one and i failed replicating it). So, where do i get .css files, so i could replicate the examples on the documentation website.
You will need to include the Bootstrap CSS, either by including it in your /assets
directory, or with e.g.
app = dash.Dash(
__name__,
external_scripts=external_scripts,
external_stylesheets=external_stylesheets
)
(see https://dash.plot.ly/external-resources)
Dash Bootstrap Components already includes a simple way to do this with
app = dash.Dash(__name__, external_stylesheets=[dbc.themes.BOOTSTRAP])
This is explained on the Dash Bootstrap Components homepage.
You can get also the Bootstrap CSS on https://www.bootstrapcdn.com/
Hi Naveen_9697,
You can find them on the Github page.
Gr,
Sempah
1 Like