1. 배경 그라데이션
body {
background: linear-gradient(to left bottom, #3459a3, #3f98c1);
}
2. 글자 그라데이션 효과
#hometitle {
/* Create the gradient. */
background-image: linear-gradient(45deg, rgb(253, 253, 114), rgb(253, 107, 22));
/* Set the background size and repeat properties. */
background-size: 100%;
background-repeat: repeat;
/* Use the text as a mask for the background. */
/* This will show the gradient as a text color rather than element bg. */
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
-moz-background-clip: text;
-moz-text-fill-color: transparent;
}
3. html title tag 이미지 넣기
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/titleicon.png" />
<title>MayWeather24</title>
</head>
'TeamProjects > MayWeather' 카테고리의 다른 글
For the next project (0) | 2021.01.05 |
---|---|
프로젝트 소개(MayWeather24) (0) | 2021.01.04 |
Day5 - 서버에서 데이터 받아오기, 로그인 구현 (0) | 2020.12.29 |
Day3 - React, fetch, axios 복습 및 Git 사용법 익히기 (0) | 2020.12.24 |