개발(Web)/Web
[CSS] Grid Container
shinyelee
2022. 1. 16. 12:46
Grid Container
display: grid;와 display: inline-grid;
grid-template-columns
column의 너비와 개수를 정한다.
grid-template-rows
row의 높이와 개수를 정한다.
추가 속성
반복(repeat)
minmax
auto-fill
auto-fit
max-content와 min-content
참고