#2 https://cssgrid.io/

· 6년 전 · 1099

15. naming을 붙여서 만들수 있음

.container {

display: grid;

grid-gap: 20px;

grid-template-columns: [sidebar-start site-left] 1fr [sidebar-end content-start] 500px [content-end] 1fr [site-right];

grid-template-rows: [content-top] repeat(10, auto) [content-bottom];

}

 

16. grid-auto-flow: dense  (밀집한)

 

17. justify-items, align-items

justify-content, align-content

justify-self, align-self

https://css-tricks.com/snippets/css/complete-guide-grid/

 

18. ordeing

 

19. auto-fit minmax로 responsive하게 만듬

 

20. Image gallery는 dense를 이용해서..

|
댓글을 작성하시려면 로그인이 필요합니다.

CSS

CSS 관련 공부 및 자료 공유 소모임 게시판 입니다.

+
제목 글쓴이 날짜 조회
6년 전 조회 1,646
6년 전 조회 1,626
6년 전 조회 1,826
6년 전 조회 1,994
6년 전 조회 1,464
6년 전 조회 2,837
6년 전 조회 1,602
6년 전 조회 1,529
6년 전 조회 1,192
6년 전 조회 2,411
6년 전 조회 1,432
6년 전 조회 1,364
6년 전 조회 1,167
6년 전 조회 1,526
6년 전 조회 1,100
6년 전 조회 1,283
6년 전 조회 1,158
6년 전 조회 1,475
6년 전 조회 1,975
7년 전 조회 1,431
7년 전 조회 1,356
7년 전 조회 1,628
7년 전 조회 1,505
7년 전 조회 1,165
7년 전 조회 1,621
7년 전 조회 1,023
7년 전 조회 943
7년 전 조회 913
7년 전 조회 1,182
7년 전 조회 1,162