-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathday 7.css
More file actions
78 lines (69 loc) · 1.42 KB
/
day 7.css
File metadata and controls
78 lines (69 loc) · 1.42 KB
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
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;1,100;1,200&family=Rubik&display=swap");
* {
margin: 0vh;
padding: 0vh;
box-sizing: border-box;
}
body {
font-family: "Rubik", sans-serif;
}
html {
font-size: 16px; /* You can adjust this base font-size according to your design */
}
.container{
background: linear-gradient(to bottom, #f39c12, #e74c3c);
width: 100%;
height: 68.7rem;
/* padding: 10rem 10rem; */
display: flex;
justify-content: center;
align-items: center;
}
button{
margin: 0em 5em;
outline: 0;
border: 0;
padding: 1rem;
}
.btn--1{
font-size: 1.5rem;
font-weight: 700;
padding: 1rem 1rem;
border-radius: 1rem;
padding: 1rem 2rem;
}
.popup{
width: 30rem;
height: 23rem;
background: #fff;
padding: 5rem;
border-radius: 1rem;
transform: translate(-50%,-50%) scale(0.1);
visibility: hidden;
transition: transform 0.4s, top 0.7s ;
position: absolute;
top: 0;
left: 50%;
text-align: center;
}
.open-popup{
visibility: visible;
transform: translate(-50%,-50%) scale(1);
top: 50%;
}
.popup h2{
font-size: 2rem;
margin-bottom: 2rem;
font-weight: 700;
}
.popup p{
font-size: 1.5rem;
}
#close{
font-size: 1.54rem;
margin: 2rem;
padding: 1rem 3rem;
border-radius: 0.6rem;
background-color: rgb(4, 44, 57);
color: #fff;
}