Jieunny의 블로그

<usum> main.css (에어비엔비 convention) 본문

React/etc

<usum> main.css (에어비엔비 convention)

Jieunny 2021. 12. 17. 19:26
@font-face { 
  font-family: 'pb';
  src: url('/static/css/pbBold.ttf')  
}

body {
  padding: 0;
  background-color: rgb(177,164,210);
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-family: pb;
}

h1 {
  margin: 0;
  font-size: 72px;
  margin-bottom: 0.1em;
  color: rgb(177,164,210);
  color: transparent;
  background: rgb(177,164,210);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0px 3px 3px rgba(255,255,255,0.5);
  letter-spacing: 0em;
}

h3 {
  margin: 0;
  font-size: 20px;
  color: transparent;
  background: rgb(177,164,210);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0px 3px 3px rgba(255,255,255,0.5);
}

.main-button {
  font-family: pb;
  cursor: pointer;
  outline: none;
  font-size: 19px;
  border: 0;
  border-radius: 5px;
  padding: 1em 4.5em;
  outline: none;
  color: #848484;
  background-color: white;
  margin: 0 auto;
  display: block;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

.header-container {
  display: block;
  margin: 0 auto;
  padding: 2em 1em 0em 1em;
  border-radius: 5px;
  text-align: center;
  background-color: white;
  width: 250px;
  height: 160px;
  margin-bottom: 10em;
  box-shadow: 4px 5px 9px 0px rgba(46, 50, 50, 0.72);
}

'React > etc' 카테고리의 다른 글

CSS 속성 선언 순서  (0) 2021.12.26
CRA 없이 React 환경 구축  (0) 2021.12.19
TypeScript  (0) 2021.12.18
styled-component  (0) 2021.12.17
SASS  (0) 2021.12.17