whatisthis?
html_pr14) style.css Code Review 본문
https://mywebproject.tistory.com/130
@import url(https://spoqa.github.io/spoqa-han-sans/css/SpoqaHanSans-kr.css);
* {
margin: 0;
box-sizing: border-box;
}
html {
font-family: "SpoqaHanSans";
font-size: 16px;
line-height: 1.5;
color: #1f2d3d;
}
body {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 100%;
height: 100vh;
margin: 0 auto;
background-color: #f8f9fa;
}
body::after {
content: "kimbug©";
display: block;
margin-top: 50px;
color: #1f2d3d;
font-size: 12px;
font-weight: 600;
}
.video-player {
width: 100%;
max-width: 400px;
border-radius: 4px;
overflow: hidden;
transition: box-shadow 200ms;
}
.video-player:hover {
box-shadow: 0 3px 20px 0 rgba(0, 0, 0, 0.05);
}
.video-container {
position: relative;
width: 100%;
height: 0;
padding-bottom: 56.24%;
overflow: hidden;
}
.video-container video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.video-player-info {
background-color: #fff;
padding: 8px 10px 10px;
}
.video-player-info h1 {
margin-bottom: 2px;
font-size: 16px;
letter-spacing: -0.03em;
color: #383838;
}
.video-player-info p {
font-size: 13px;
letter-spacing: -0.03em;
color: #8e8e93;
}
REFERENCE (style.css)
https://github.com/rohjs/bugless-101/tree/master/html-practice/14-video-player
강의내용 (X)
github 코드 위주로 작성하였습니다.
추후 비공개 처리 예정,
'PRACTICE > REVERSE-ENGINEERING' 카테고리의 다른 글
javaScript. canvas redo/undo button (0) | 2022.02.07 |
---|---|
html_pr13) app.js Code Review (0) | 2021.11.10 |
html_pr12) app.js Code Review (0) | 2021.11.10 |
html_pr12) style.css Code Review (0) | 2021.11.10 |
html_pr11) app.js Code Review (0) | 2021.11.08 |