-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
61 lines (55 loc) · 975 Bytes
/
styles.css
File metadata and controls
61 lines (55 loc) · 975 Bytes
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
height: 100vh;
background-color: black;
display: flex;
flex-direction: column;
gap: 2rem;
align-items: center;
justify-content: center;
}
.image {
max-width: 50%;
min-width: 400px;
box-shadow: 0px 0px 50px rgba(255, 255, 255, 0.8);
border-radius: 10px;
display: flex;
flex-direction: column;
gap: 2rem;
padding: 2rem;
}
figure {
display: flex;
flex-direction: column;
gap: 2rem;
}
img {
display: block;
object-fit: cover;
height: 400px;
width: 300px;
margin-inline: auto;
}
img:hover {
border: 1px solid red;
}
button {
font-size: 2rem;
padding: 1rem 0;
width: 100%;
background-color: rgb(196, 8, 8);
color: #fff;
font-weight: 900;
font-family: Verdana, Geneva, Tahoma, sans-serif;
border: none;
border-radius: 10px;
}
button:hover {
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.4);
background-color: greenyellow;
cursor: pointer;
}