-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
108 lines (77 loc) · 1.6 KB
/
index.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
body {
font-family: 'Arial', sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 0;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
border: 8px solid red;
background: url('./image/Lovebackground.jpg');
}
body:hover{
border-top-left-radius: 50%;
border-bottom-right-radius: 50%;
border-top-right-radius: 50%;
border-bottom-left-radius: 50%;
}
.container {
background-color:grey;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
text-align: center;
}
.container:hover{
transform: rotate(-360deg);
border-radius: 100%;
margin: 20px;
transition: all 0.3s ease-in-out;
background-color: red;
}
form {
display: flex;
flex-direction: column;
margin-bottom: 20px;
}
label {
margin-bottom: 5px;
transition: transform 0.6s ease-in-out;
}
label:hover{
transform:scale(1.7);
}
input {
padding: 8px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 4px;
color: red;
transition: transform 0.6s ease-in-out;
}
input:hover{
transform:scale(1.7);
}
button {
padding: 10px;
background-color: #4caf50;
color: #fff;
border: none;
border-radius: 4px;
cursor: pointer;
transition: transform 0.2s ease-in-out;
}
button:hover {
background-color: blue;
transform:scale(0.5);
}
#result {
font-size: 18px;
font-weight: bold;
color:goldenrod;
transition: transform 0.5s ease-in-out;
}
#result:hover{
transform:scale(1.2);
}