Q: Bootstrap btn-block not working
A: In Bootstrap 5.0.x, btn-block
is depreciated, and to get a full width button you can use a grid system and use col-12
in the button class.you can check out the documentation from bootstrap documentation page
ps: 实测有效
Stacking-Order-Flowchart