[Language/CSS]: ๋ผ์ด๋ธ๋ฌ๋ฆฌ ๊ธฐ๋ฅ
2023. 4. 20. 10:18ใ๐ค Language/CSS
ํฐํธ ์ค์
๊ตฌ๊ธ์นํฐํธ๋ฅผ ์ฌ์ฉํ์ฌ ์ํ๋ ํฐํธ ์ค์ ๊ฐ๋ฅ
- ํ๋จ ๋งํฌ ์ ์
https://fonts.google.com/?subset=korean¬o.script=Kore - ์ํ๋ ํฐํธ ์ค์ ํ ๊ตต๊ธฐ ๋ฑ์ ์ ํ๊ณ , ๋ ๊ฐ์ง ์ฝ๋๋ฅผ ๋ณต์ฌํ์ฌ style tag ์๋ฆฌ์ ์
๋ ฅ
- style ์ฝ๋
- font ์ ์ธ ์ฝ๋
<style> @import url('https://fonts.googleapis.com/css2?family=Gowun+Dodum&display=swap'); * { font-family: 'Gowun Dodum', sans-serif; } </style>
์์ฑ๋ ๋์ CSS ์ฌ์ฉ: ๋ถํธ์คํธ๋ฉ
๋ฒํผ์ด๋ ์นด๋ ๋ฑ ์์ฑ๋ ๋์ ๋์์ธ์ ์ฌ์ฉํ ์ ์์.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
crossorigin="anonymous"></script>
</head>
<body>
</body>
</html>
์์ ๊ฐ์ด head tag ์์ link, script์ ๋ถํธ์คํธ๋ฉ ์ฌ์ฉ์ ์ํ ์ฝ๋๋ฅผ ๋ฃ์ด์ค.
https://getbootstrap.com/docs/5.0/components/buttons/
์ link์ ์ ์ํ์ฌ ์ํ๋ ์คํ์ผ์ ์ ํํ์ฌ ํด๋น tag๋ฅผ ๋ถ์ฌ๋ฃ์ด์ค.
<body>
<button> ...๋ด์ฉ... </button> -> ํด๋น ๋ด์ฉ์ ๋ถํธ์คํธ๋ฉ ์ฌ์ดํธ์์ ๋ฐ์์ ๋ถ์ฌ๋ฃ์.
</body>
'๐ค Language > CSS' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[Language/CSS] padding, border, margin (0) | 2023.05.04 |
---|---|
[Language/CSS]: ์ฌ์ฉ ๋ฐฉ๋ฒ (0) | 2023.04.19 |
[Language/CSS]: ์ ์ (0) | 2023.04.19 |