-
SCSS - homeProject using node.js/Cloning Youtube 2020. 9. 2. 11:43
pages/home.scss
.home-videos { display: grid; grid-template-columns: repeat(6, minmax(150px, 1fr)); grid-gap: 30px; .videoBlock:first-child, .videoBlock:nth-child(2) { grid-column: span 3; } .videoBlock:nth-child(3), .videoBlock:nth-child(4), .videoBlock:nth-child(5) { grid-column: span 2; } }
View
참고 자료
소스 코드
https://github.com/zpskek/wetube-v3/commit/cec8d685c18b739c253bcf437308d236c54a93ef
'Project using node.js > Cloning Youtube' 카테고리의 다른 글
SCSS-socialLogin (0) 2020.09.02 SCSS-form (0) 2020.09.02 SCSS-videoBlock (0) 2020.09.02 SCSS-footer (0) 2020.09.02 SCSS-header (0) 2020.09.02