I have three elements in a row. When I press a button they look like in a column and when i click the botton for the second time, I want it to look again in a row. The piece of code I send to you is when they look like in a row.
grid-template-columns: repeat(3, 28%);
grid-template-rows: repeat(2, 35%);