This property specifies how many columns a element will span,or in other words, This property specifies the end column on which an item will end spanning.
Syntax -
grid-column-end: auto|span n|column-line; |
Now we will see the values with their description -
Value |
Description |
auto |
The item will span one column only, and this is the default value. |
span n |
This specifies the no. of columns the item will span |
column-line |
This specifies on which column to end spanning |
Now we will see the example -
Example -
<html> |
Output -