-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
52 lines (48 loc) · 887 Bytes
/
index.css
File metadata and controls
52 lines (48 loc) · 887 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
body {
margin: 0;
padding: 0;
width: 100%;
height: 100vh;
overflow-x: hidden;
}
h1 {
position: absolute;
top: 50%;
left: 50%;
background-color: aqua;
border: 1px solid black;
width: 100px;
height: 100px;
}
.box {
background-color: rgb(0, 0, 0);
font-size: 2rem;
color: white;
border: 1px solid black;
border-radius: 3rem;
width: 500px;
height: 200px;
transition: .1s ease-in-out;
transition-delay: 500ms;
transition-duration: 200ms;
}
.box:hover {
background-color: orange;
animation: blink 1s infinite;
transform: scale(1.5);
transform: rotate(45deg);
transform: translate(-50%, 50%);
}
form {
display: flex;
flex-direction: column;
align-items: center;
}
form input {
margin: 1rem;
padding: 1rem;
}
button{
padding: 1rem;
width: 10%;
}