본문 바로가기
웹코딩 배우기/· CSS

grid-area: name;

by 닐기 2021. 10. 27.

See the Pen grid-area by nilgi (@nilgi) on CodePen.

 

grid-template-areas: 'head head head head'; // head 값 4칸
grid-area: head;
grid-template-areas: 'main main . . .'; // main값 2칸 나머지 나열
grid-area: main;

반응형

댓글0