Completion document for offcanvas trigger btn
Created by: ZhangChengLin
https://codepen.io/zhangchenglin/pen/eYGgaOr?editors=1100
https://getbootstrap.com/docs/5.1/components/offcanvas/#backdrop
The document should state that when data-bs-backdrop='false', in addition to the offcanvas close button, the button that triggers the display can also be clicked again to hide offcanvas.
Maybe you can use the backdrop='false' of the demo code to demonstrate in the placement position.
https://getbootstrap.com/docs/5.1/components/offcanvas/#placement
Or in the content triggered by the first button of backdrop, it means that you can close offcanvas by clicking the trigger button
https://getbootstrap.com/docs/5.1/components/offcanvas/#backdrop
2 In the demo code at the beginning of the question, the parts 333 and 4444 will overlap in different colors. I don't know why.