Bootstrap
Bootstrap
layout
using bootstrap will make you have a lot of classes in tags which is called class bloat
On pc, two columns, on mobile, 1 colum
1 | <div class="row"> |
actually you can delete col-sm-12 ,cause everything else is defaulted to 100 percent.
xl-> pc
sm-> phone
1 | <!-- Modify the HTML below to make the blue boxes behave like the red ones. --> |
- notice:
- must have
Components
css:
utilities.scss -> custom styling
features.css -> custom css
Spacing:
mt-5 : margin-top 5
my-3: margin- top and bottom
mb-2: margin-bottom -size 2
Dark Mode
1
2
<html lang="en" data-bs-theme="dark">All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.
- must have
Loading the Database
