Demo for Responsive Navbar with offcanvas view on mobile.
Based on Bootstrap 5 CSS framework.

Change browser size to see in action

For this demo page you should connect to the internet to receive files from CDN like Bootstrap5 CSS, Bootstrap5 JS

This card becomes offcanvas on mobile view
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.