CSS_part2.4_Line Naming

Eugenius1st·2022년 1월 17일
0

CSS

목록 보기
13/46

Line Naming

우리는 line 에 이름을 붙일 수 있다.
repeat(4, 100px) 대신 각각 이름을 붙인다.
grid-template-columns: [first-line]100px [second-line]100px [third-line]100px [fourth-line]100px ;
또한
grid-template-row: repeat(4, 100px [sexyline]);
이것은
grid-template-row: 100px [sexyline] 100px [sexyline] 이것과 같다.
grid-template-row: sexyline 1 / sexyline 3 이것과 같다.

!! 하지만 여기엔 첫번째 line이 없으므로 끝부터 시작한다..

profile
최강 프론트엔드 개발자가 되고싶은 안유진 입니다

0개의 댓글