Google ๊ธ๊ผด ๊ฐ์ ธ ์ค๊ธฐ์ ๋ฌธ์ ๊ฐ ์์ต๋๋ค.
์ฌ์ฉ์ ์์ด์ ํธ : Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.100 Safari/537.36 Vivaldi/1.5.658.44
.
์ด ๋ฌธ์ ๋ฅผ ์ฌํํ๋ ๋ฐฉ๋ฒ์ ์ค๋ช
ํ๊ณ ๊ฐ๋ฅํ๋ฉด ์คํฌ๋ฆฐ ์ท ๋งํฌ๋ฅผ ํฌํจํ์ธ์.
์ด ์ฑ๋ฆฐ์ง์ ๋ํ ์ง์นจ๊ณผ ํ ์คํธ์์๋ h2 ์์์ Lobster ๊ธ๊ผด์ ์ ์ฉํด์ผํ์ง๋ง p ์์๋ Monospace๋ฅผ ์ฌ์ฉํ์ฌ ๊ทธ๋๋ก ๋์ด์ผํ๋ค๊ณ ๋งํฉ๋๋ค.
๋ฐ๋ผ์ ์ฌ๋ฐ๋ฅธ ํด๊ฒฐ์ฑ ์ h2 ์์ ๋ง ๋์์ผ๋กํ๋ ์ ํ๊ธฐ๋ฅผ ๋ง๋๋ ๊ฒ์ ๋๋ค.
<style>
.red-text {
color: red;
}
p {
font-size: 16px;
font-family: Monospace;
}
h2 {
font-family: Lobster;
}
</style>
๊ทธ๋ฌ๋์ด ์ฝ๋๋ p ์์์ ๊ธ๊ผด๋ Lobster๋ก ๋ณ๊ฒฝํ๋๋ผ๋ ์ ๋ฌ๋ฉ๋๋ค.
<style>
.red-text {
color: red;
font-family: Lobster, Monospace;
}
p {
font-size: 16px;
font-family: Monospace;
}
</style>
<h2 class="red-text">CatPhotoApp</h2>
<p class="red-text">Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p class="red-text">Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
๋ณ๋์ h2 ์ ํ๊ธฐ๊ฐ ์๋๋ก ํ ์คํธ๋ฅผ ์์ ํด์ผํฉ๋๊น?
ํ์ธํ์ต๋๋ค.
์! ๋ค์ ๊ณผ์ ์ธ ๊ธ๊ผด ์ ํ ๋ฐฉ๋ฒ ์ง์ ์๋ ์ ์ฉ๋ฉ๋๋ค.
์ ์ก์์ต๋๋ค. @ Margaret2 @ Manish-Giri์ @marhyorh์๊ฒ ๊ฐ์ฌ๋๋ฆฝ๋๋ค.
๋ ๊ฐ์ง ๊ณผ์ ์ ๋ํ ํ
์คํธ๋ฅผ ์์ ํ๋ ค๋ ์ฌ๋์ด ์์ต๋๊น?
๋๋ ์ด๊ฒ์ ๊ท ์ด์ ๊ฐ์ ธ๊ฐ ๊ฒ์ด๋ค. ๋ด๊ฐ ๊ธฐ์ฌํ ์ดํ๋ก ์ค๋๋์์ต๋๋ค.
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
๋๋ ์ด๊ฒ์ ๊ท ์ด์ ๊ฐ์ ธ๊ฐ ๊ฒ์ด๋ค. ๋ด๊ฐ ๊ธฐ์ฌํ ์ดํ๋ก ์ค๋๋์์ต๋๋ค.