باز شدن سایدبار با استفاده از جاوا اسکریپت
html باز شدن
html
css #wrapper{ width: 300px; height: 100vh; background-color: blue; position: absolute; right: -300px; transition: right 1s; }
css
js function abc(){ document.getElementById("wrapper").style.right = '0px'; }
js