-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.html
40 lines (38 loc) · 942 Bytes
/
test.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>test</title>
</head>
<style>
@@font-face {
font-family: SeoulNamsanFont;
src:url('SeoulNamsanL.ttf');
}
@@font-face {
font-family: SeoulNamsanFont;
src:url('SeoulNamsanEB.ttf');
font-weight: bold;
}
p{
font-family: SeoulNamsanFont;
}
@media (max-width:799px){
body{background-color: #ffffff}
#title:after{content:" :smartphone"}
}
@media only screen and (min-width:800px) and (max-width:1023px){
body{background-color: #CACACA}
#title:after{content:":tablet PC"}
}
@media only screen and (min-width:1024px){
body{background-color: #606060}
#title:after{content:":desktop PC"}
h1{color:#FFFFFF}
}
</style>
<body>
<p>이 문장은 웨폰트로 <b>"서울 남산체"</b>를 사용하였습니다.</p>
<h1 id="title"> 접속 기기 </h1>
</body>
</html>