-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
65 lines (64 loc) · 1.56 KB
/
index.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<style>
html, body{
height: 100%;
}
body{
display: flex;
flex-direction: column;
}
.title{
display: flex;
}
.title_text{
font-size: 40px;
margin: 0 auto;
}
.content_box {
min-height: 100px;
width: auto;
height: auto;
overflow-y: scroll;
padding: 10px;
}
.line {display: flex; font-size: 20px;}
.chat {
background-color: rgb(249, 241, 199);
max-width: 320px; word-wrap: break-word;
padding: 10px;
}
.mine {margin-left: auto;}
.InputBox{
display: flex;
margin: 10px;
margin-top: auto;
height: 40px;
}
#input{
font-size: 20px;
width: 90%;
}
#send{
width:10%;
height: 100%;
}
</style>
</head>
<body>
<div class="title"><span class="title_text">Ai chat</span></div>
<div class="content_box">
<!-- <p class="line"><span class="chat">안녕</span></p>
<p class="line"><span class="chat mine">안녕!</span></p> -->
</div>
<footer class="InputBox">
<input class="InputTag" type="text" id="input" placeholder="채팅을 입력하세요"/>
<button class="InputTag" id="send">전송</button>
</footer>
</body>
</html>