whatisthis?

tmp) style.css 본문

WEB STUDY/ETC.

tmp) style.css

thisisyjin 2021. 10. 19. 12:39
* {
  margin: 0;
  box-sizing: border-box;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
    "Helvetica Neue", sans-serif;
  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: #1f2d3d;
}

body::after {
  content: "kimbug©";
  display: block;
  margin-top: 50px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.modal {
  position: relative;
  flex-grow: 0;
  flex-shrink: 0;
  padding: 40px 36px 36px;
  border-radius: 12px;
  background-color: #fff;
  transition: box-shadow 250ms ease-in, transform 250ms ease-in;
}

.modal:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.3);
}

h1 {
  margin-bottom: 20px;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #474747;
}

p {
  margin-bottom: 28px;
  font-size: 14px;
  line-height: 1.5;
  color: #666;
  letter-spacing: 0.01em;
}

a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-width: 320px;
  height: 65px;
  border-radius: 6px;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  background: linear-gradient(90deg, #ff8806 0%, #fb07f3 100%);
}

 

 

** REFERENCE LECTOR

 

김버그의 HTML&CSS는 재밌다 - 구름EDU

HTML&CSS를 한번에! 탄탄한 개념이해부터 실습까지 한 강의로 끝내기, 실무 가능한 실력으로 😎

edu.goorm.io

 

https://github.com/rohjs/bugless-101/blob/practice/html-practive/01-ad-banner/style.css 

 

'WEB STUDY > ETC.' 카테고리의 다른 글

etc. 배열(Array)과 리스트(List)  (0) 2021.12.23
etc. study planner  (0) 2021.11.24
etc. 브라우저의 렌더링 과정  (0) 2021.10.17
etc) HTML vs XML  (0) 2021.10.12
etc) HTTP - GET 방식 vs POST 방식  (0) 2021.10.12