-
Notifications
You must be signed in to change notification settings - Fork 0
/
stylesheet.css
103 lines (93 loc) · 3.83 KB
/
stylesheet.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
body, html { height: 100%;}
.bg { background-image: url(https://i.pinimg.com/originals/54/b0/ef/54b0efc42e2b6989bd2e3cfc5f625311.gif);
height: 100%; opacity: 0.3; background-position: center;
background-repeat: no-repeat; position: absolute; background-size: cover;}
#cen{ left: 50%; top: 35%; position: absolute; transform: translate(-50%, -50%); }
#cen1{ width: 330x; height: 330px; border-radius: 50%; position: absolute; bottom:25px; left: 9%;}
#cen2{ width: 370px; height: 370px; border-radius: 50%; position: relative; left: 12px;
border-style: solid; border-width: 2px; border-color: #D2691E;}
.heart { background-color: red; display: inline-block; height: 30px; margin: 0 10px;
position: relative; bottom: 130px; left: 48%; transform: rotate(-45deg); width: 30px;
animation: pulse 1s ease infinite; }
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.3); }
100% { transform: scale(1); } }
.heart:before,
.heart:after { content: "";
background-color: red;
border-radius: 50%; height: 30px;
position: absolute; width: 30px; }
.heart:before { top: -15px; left: 0; }
.heart:after { left: 15px; top: 0; }
#hearttxt1{ top: 415px; left: 590px;
font-size: 53px; font-family: Impact;
position: absolute;}
#hearttxt2{ top: 415px; right: 560px;
font-size: 53px; font-family: Impact;
position: absolute;}
#slide1{left: 30px; top: 200px;
position: absolute; border-width: 2px;
width: 350px; height: 350px;}
#s1{ max-width: 380px; max-height: 400px; position: absolute; bottom: 1px; left: 7.2%; border-radius: 5%}
@keyframes fade1 {
0% { opacity: 0; }
1% { opacity: 1; }
4% { opacity: 1; }
5% { opacity: 0; }
100% { opacity: 0; }
}
#slide1 >*{
opacity:0;
animation-name: fade1;
animation-duration: 100s;
animation-iteration-count: infinite;
}
#slide1 *:nth-child(1) { animation-delay: 0s; }
#slide1 *:nth-child(2) { animation-delay: 4s; }
#slide1 *:nth-child(3) { animation-delay: 8s; }
#slide1 *:nth-child(4) { animation-delay: 12s; }
#slide1 *:nth-child(5) { animation-delay: 16s; }
#slide1 *:nth-child(6) { animation-delay: 20s; }
#slide1 *:nth-child(7) { animation-delay: 24s; }
#slide1 *:nth-child(8) { animation-delay: 28s; }
#slide1 *:nth-child(9) { animation-delay: 32s; }
#slide1 *:nth-child(10) { animation-delay: 36s; }
#slide1 *:nth-child(11) { animation-delay: 40s; }
#slide1 *:nth-child(12) { animation-delay: 44s; }
#slide1 *:nth-child(13) { animation-delay: 48s; }
#slide1 *:nth-child(14) { animation-delay: 52s; }
#slide1 *:nth-child(15) { animation-delay: 56s; }
#slide1 *:nth-child(16) { animation-delay: 60s; }
#slide1 *:nth-child(17) { animation-delay: 64s; }
#slide1 *:nth-child(18) { animation-delay: 68s; }
#slide1 *:nth-child(19) { animation-delay: 72s; }
#slide1 *:nth-child(20) { animation-delay: 76s; }
#slide1 *:nth-child(21) { animation-delay: 80s; }
#slide1 *:nth-child(22) { animation-delay: 84s; }
#slide1 *:nth-child(23) { animation-delay: 88s; }
#slide1 *:nth-child(24) { animation-delay: 92s; }
#slide1 *:nth-child(25) { animation-delay: 96s; }
#slide2{right: 45px; top: 120px; position: absolute; width:250px; height: 250px;
border-width: 2px; border-color: pink;}
#s2{ max-width: 350px; max-height: 350px; position: absolute; top: 130px; right: 0%; border-radius: 5%}
@keyframes fade2 {
0% { opacity: 0; }
3.33% { opacity: 1; }
16.65% { opacity: 1; }
19.98% { opacity: 0; }
100% { opacity: 0; }
}
#slide2 >*{
opacity:0;
animation-name: fade2;
animation-duration: 30s;
animation-iteration-count: infinite;
}
#slide2 *:nth-child(1) { animation-delay: 0s; }
#slide2 *:nth-child(2) { animation-delay: 5s; }
#slide2 *:nth-child(3) { animation-delay: 10s; }
#slide2 *:nth-child(4) { animation-delay: 15s; }
#slide2 *:nth-child(5) { animation-delay: 20s; }
#slide2 *:nth-child(6) { animation-delay: 25s; }
</style>