By default, bootstrap pages have a white (light) background color.
If you want to change the whole page to a darker color, you can add data-bs-theme="dark"
to the <html>
element:
If you don't want the whole page to have a darker color, but only specific components, you can add the data-bs-theme="dark"
attribute to the specified component.
For example, add dark mode to a table:
Or for example, add dark mode to a dropdown menu:
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!