Change div to offcanvas on breakpoint
I want to change the accordion div below to an offcanvas when the large screen breakpoint is triggered in the HTML below.The only way I can think is to replicate the accordion HTML in the offcanvas using JQuery when the page loads. The problem is that the input will not be the same when the screen size changes back to large.