-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
78 lines (70 loc) · 1.18 KB
/
style.css
File metadata and controls
78 lines (70 loc) · 1.18 KB
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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
body{
background-color: rgb(29, 11, 55);
}
.hero{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
height: 100vh;
}
.box{
width: 90px;
height: 90px;
border: 2px solid black;
border-radius: 50%;
cursor: pointer;
}
.hero .container{
display: flex;
gap: 54px;
border: 2px solid black;
padding: 10px;
border-radius: 10px;
background-color: rgb(197, 77, 77);
}
#box1{
background-color: blue;
}
#box2{
background-color: red;
}
#box3{
background-color: yellow;
}
#box4{
background-color: black;
}
#box5{
background-color: white;
}
h1{
font-size: 30px;
font-weight: bolder;
margin-bottom: 30px;
color: rgb(255, 0, 234);
}
p{
font-size: 30px;
font-weight: bolder;
/* margin-top: 30px; */
color: cyan;
}
.container:hover{
box-shadow: 30px 40px 20px rgb(28, 26, 26);
transition: 1s;
}
.box:hover{
box-shadow: 0px 0px 20px 20px aqua;
transition: 5s;
}
.color{
border-radius: 50%;
}