-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
84 lines (82 loc) · 1.45 KB
/
style.css
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
*{
margin: 0;
padding: 0;
font-family: Arial, Helvetica, sans-serif;
background:url("download.jpeg");
}
body{
background-image: url("image/download.jpeg");
background-repeat: no-repeat;
background-size: cover;
background-position: center;
height: 100vh;
}
.main{
/*background-color:white;*/
position: relative;
height:100%;
width: 100%;
}
nav{
display: flex;
width: 80%;
margin: auto;
padding: 20px 0px;
align-items: center;
justify-content: space-between;
}
nav ul li{
display: inline-block;
list-style: none;
margin: 10px 20px;
}
nav ul li a{
text-decoration: none;
color: black;
font-weight: bolder;
}
nav ul li a:hover{
color: aqua;
}
.detail{
margin-left: 10%;
margin-top: 15%;
}
.detail h1{
font-size: 50px;
color:wh;
}
span{
color:aqua;
line-height: 22px;
}
.detail a{
background: black;
padding: 10px 18px;
text-decoration: none;
font-weight: bold;
color:white;
display:inline-flex;
margin:30px 0;
border-radius: 5px;
}
.images{
width:45%;
height: 80%;
position: absolute;
bottom: 0;
right: 100px;
}
.images img{
height: 100%;
position: absolute;
left: 60%;
transform: translate(-50);
transition: bottom 1s,left 2s;
}
.images:hover .shape{
bottom:50px;
}
.images:hover .girl{
left:45%
}