CSS Property:
grid:
none
'myArea myArea .'
'myArea myArea . .'
'myArea myArea . . .'
'myArea myArea .' 'myArea myArea .'
'myArea myArea . .' 'myArea myArea . .'
'. . .' '. myArea myArea'
Result:
1
2
3
4
5
6
CSS Code:
#myDIV {
grid:
none
;
display: grid;
}
.item1 {
grid-area: myArea;
}
Click the property values above to see the result
W3Schools.com
- Play it