Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

design : #11 add dailyshoes part #39

Merged
merged 1 commit into from
Nov 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -174,25 +174,33 @@ <h2 class="sr-only">진행중인 드로우</h2>
</ul>
<button aria-label="진행중인 드로우로 이동" type="button">더보기</button>
</section>

<!-- 데일리 -->
<section class="daily">
<h2 class="daily__h2 daily__h2--medium">DAILY SHOES</h2>
<ul class="daily__ul">
<li>
<span>@zzamjonbin</span>
<figure>
<!-- <img src="./assets/images/shoes.jpeg" alt="데일리룩"> -->
<img class="daily__img" src="./assets/images/shoes.jpeg" alt="데일리룩">
</figure>
</li>
<li>
<span>@chihanna</span>
<figure>
<img src="./assets/images/shoes.jpeg" alt="데일리룩">
<img class="daily__img" src="./assets/images/shoes.jpeg" alt="데일리룩">
</figure>
</li>
<li>
<span>@quaqwakim</span>
<figure>
<img src="./assets/images/shoes.jpeg" alt="데일리룩">
<img class="daily__img" src="./assets/images/shoes.jpeg" alt="데일리룩">
</figure>
</li>
<li>
<span>@mingmango</span>
<figure>
<img class="daily__img" src="./assets/images/shoes.jpeg" alt="데일리룩">
</figure>
</li>
</ul>
Expand Down
61 changes: 52 additions & 9 deletions src/sass/pages/_home.scss
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
@use './../utils' as *;


.main-wrapper{
background-color: blue;
max-width: rem(1200px);
margin: 0 auto;
}

// 비디오 첫페이지
.video{
position: relative;
// 비디오 container
&__iframe-container{
background-color: $navy;
width: 100vw;
width: 100%;
height:100vh;
}
&__iframe{
Expand Down Expand Up @@ -49,18 +44,24 @@
left:5%;
color: $white;
font-size: rem(60px);
letter-spacing: rem(-10px);
letter-spacing: rem(-5px);
@include desktop{
top:30%;
letter-spacing: rem(-10px);
font-size: rem(90px);
}
&--bold{
margin-top: rem(10px);
font-weight: 700;
}
}

}

.main-wrapper{
max-width: rem(1200px);
margin: 0 auto;
}

// 베스트 드로우
.best{
Expand Down Expand Up @@ -134,6 +135,48 @@
}


// 데일리쇼즈, 진행중인 드로우 heading
.daily__h2{
font-weight: 700;
font-size: rem(26px);
margin:rem(10px);

}


// 데일리룩
.daily{
&__ul{
display: flex;
flex-wrap: nowrap;
// justify-content: center;
justify-items: flex-start;
// li 요소
li{
position: relative;
width: rem(240px);
height:rem(280px);
overflow: hidden;
margin-left:rem(10px);
border-radius: rem(30px);
@include mobile{
min-width: rem(150px);
}
// 인스타그램 아이디
span{
color: $black;
position: absolute;
bottom: 5%;
left:5%;
}
figure{
width: 100%;
height:100%;
}
}
}
&__img{
width: 100%;
height:100%;
object-fit: cover;
}
}