-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle1.css
115 lines (108 loc) · 2.29 KB
/
style1.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
109
110
111
112
113
114
115
*{
font-family: Arial, Helvetica, sans-serif;
margin: 0px;
padding: 0px;
box-sizing: border-box;
}
body{
background-image: url(birthday\ setting.jpg);
height: 100vh;
width: 100wh;
background-size: cover;
background-repeat: no-repeat;
display: flex;
justify-content: center;
align-items: center;
}
@keyframes container {
0% {
transform: translateY(0) scale(1);
box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}
50% {
transform: translateY(-20px) scale(1.1);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}
100% {
transform: translateY(0) scale(1);
box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}
}
.container{
border: 10px double #7ab5e9;
background-color:#f5e5d6;
position: absolute;
height: 300px;
width: 460px;
border-radius: 30%;
display: flex;
justify-content: center;
align-items: center;
position: absolute;
animation: container 2s infinite;
}
.container:hover{
border: 8px dashed #c15d24 ;
transition: all 0.1s;
animation-play-state: paused;
transform: translateY(-20px) scale(1.1);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}
.data{
position: absolute;
}
.data h1{
position: relative;
left: 12px;
}
#person{
position:relative;
top: 26px;
font-size: 1.3em;
font-weight: 200;
}
#DOB{
position: relative;
top: 27px;
margin: 20px;
font-size: 20px;
font-weight: 200;
}
#dob-input{
cursor: pointer;
}
#start{
height: 50px;
width: 150px;
border: 2px solid black;
border-radius: 25%;
font-weight: bolder;
font-size: 1.25em;
position: relative;
top: 34px;
left: 90px;
background-color: #386FA4;
cursor: pointer;
color:rgb(229, 241, 227) ;
}
#start:hover{
background-color: #133C55;
transition-timing-function:ease-in-out ;
color:#f4e73f;
}
.countdown{
position: relative;
top:-25px;
left: 3px;
padding-top: 40px;
text-align: center;
}
.time{
font-size: 25px;
text-align: center;
display: inline-block;
justify-content: center;
align-items: center;
margin-top: 10px;
margin-right: 10px;
}