I have used this code several times in Bootstrap 4 (on mobile columns have full width - from "md" the columns have equal-width):
<div class="container">
<div class="row">
<div class="col-12 col-md">
1 of 2
</div>
<div class="col-12 col-md">
2 of 2
</div>
<div class="col-12 col-md">
3 of 3
</div>
<div class="col-12 col-md">
4 of 4
</div>
<div class="col-12 col-md">
5 of 5
</div>
</div>
</div>
If I use this code in Bootstrap 5 "col-12" overwrites "col-md".
How can I have on mobile the columns with full width and starting from "md" equal width, using Bootstrap 5?