I have a class, lets call it .col3 and it is a grid item inside a div with the class of .container
Container has grid-template-columns: 25% 25% 25% 25%
I want the class .col3 to span 3 columns. I know that normally I could use:
.col3{
grid-column-start: 1;
grid-column-end: 4;
}
but that does not specify the times when I want it to start on col 2 and go to the end. Is there a universal "make this class span 3 columns" that I could use?
grid-column-end: -1;, orgrid-colunm; span 3- Temani Afif