온라인 강의/Advanced CSS and Sass [Udemy]

93. Getting Familiar with the fr Unit

유호야 2023. 8. 8. 18:54
반응형

fr 과 repeat을 이용하여 grid를 조정할 수 있다

 

1.

  grid-template-columns: repeat(2, 200px) 1fr;

 

 

2. 

grid-template-columns: repeat(3, 1fr);

 

 

3. 

 

4.

 

 

반응형