Then, we'll rotate the sidebar vertically by 100 degrees during collapsing out using transform property. If you have any questions or suggestions, let me know by comment below. Duis aute irure List group item heading Wed. Nicely done! As the content increases, sidebar height dynamically increases too. Its cleaner in that you dont have to add submenu classes to your markup but, just as before, it still requires that you structure the content of your list manually or that your CMS can foretell which list items will contain other