forked from APPS-sookmyung/2023-web-project-photoshop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.html
87 lines (76 loc) · 2.42 KB
/
home.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>홈페이지</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-JEW9xMcG8R+pH31jmWH6WWP0WintQrMb4s7ZOdauHnUtxwoG2vI5DkLtS3qm9Ekf" crossorigin="anonymous"></script>
</head>
<body>
<div class="container">
<div class="box">
<a href="01그림판.html">
<img scr="https://source.unsplash.com/1000x802">
</a>
<span style="color: black;">일반 편집</span>
</div>
<div class="box">
<a href="02컬러그림판.html">
<img scr="https://source.unsplash.com/1000x804">
</a>
<span style="color: black;">컬러 편집</span>
</div>
<div class="box">
<a href="03게시판.html">
<img scr="https://source.unsplash.com/1000x806">
</a>
<span style="color: black;">게시판</span>
</div>
</div>
<style>
.container {
display: flex;
width: 100%;
padding: 4% 2%;
box-sizing: border-box;
height: 100vh;
}
.box {
flex: 1;
overflow: hidden;
transition: 5s;
margin: 0 2%;
box-shadow: 0 20px 30px rgba(0, 0, 0, .1);
line-height: 0;
}
.box>a {
font-size: 3.8vh;
display: block;
text-align: center;
height: 10vh;
line-height: 2.6;
}
.box>img {
width: 200%;
height: calc(100% - 10vh);
object-fit: cover;
transition: .5s;
}
.box>span {
font-size: 3.8vh;
display: block;
text-align: center;
height: 10vh;
line-height: 2.6;
}
.box:hover {
flex: 1 1 50%;
}
.box:hover>img {
width: 100%;
width: 100%;
}
</style>
</body>
</html>