-
SCSS-headerProject using node.js/Cloning Youtube 2020. 9. 2. 11:21
partials/header.scss
.header { background-color: $red; margin-bottom: 50px; a { color: white; } .header__wrapper { display: flex; justify-content: space-between; align-items: center; margin: 0 auto; max-width: 1200px; padding: 7px 0; .header__column { i { color: white; font-size: 36px; } &:nth-child(2) { width: 30%; .header__search { input { padding: 7px 10px; border: none; border-radius: 5px; max-width: none; width: 100%; font-weight: 600; } } } &:last-child { ul { display: flex; color: white; font-size: 22px; li:not(:last-child) { margin-right: 20px; } } } } } }
View
참고 자료
소스 코드
https://github.com/zpskek/wetube-v3/commit/685baf796d137dc66fb9e9b91b256ff9f267768e
'Project using node.js > Cloning Youtube' 카테고리의 다른 글
SCSS-videoBlock (0) 2020.09.02 SCSS-footer (0) 2020.09.02 SCSS-config (0) 2020.09.02 gulp (0) 2020.09.01 Webpack (0) 2020.09.01