Html – How to expand one column width while other column shrinks in css grid layout?
I created a side navigation bar and a main content area. I arranged these in a grid layout using display: grid with columns set to 200px. I also wrote a JavaScript script to toggle the class list. When I click…