-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
63 lines (57 loc) · 1.13 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
body {
background-image: url(https://papers.co/wallpaper/papers.co-we14-pattern-background-apple-iphone12-rainbow-36-3840x2400-4k-wallpaper.jpg);
background-size: cover;
}
h1 {
color: white;
}
@keyframes rotate {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
/* Apply the animation to the image */
.rotate-image {
animation: rotate 4s linear infinite; /* Adjust duration and timing function as needed */
}
.text1 {
color: white;
}
.link1 {
color: white;
font-size: 20px;
}
div.class1 {
width: 100px;
height: 100px;
background-color: red;
position: sticky;
top:0;
}
div.class2 {
width: 50px;
height: 50px;
background-color: red;
display: flex;
flex-direction: column;
justify-content: space-between; /*at the center of the box*/
align-items:center;
transform: scale(1);
transition: 1s;
}
div:hover {
background-color: yellow;
transform: scale(2);
width: 100px;
}
@media only screen and (max-width: 600px){
div.class2 {
background-color: aqua;
}
}
.input {
background-color: blue;
}