-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.css
38 lines (35 loc) · 1 KB
/
test.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
.odometer {
font-size: 170px;
color: white;
}
.odometer .odometer-inside:before {
content: "$";
}
.odometer .odometer-inside {
justify-content: right;
}
.background {
background-image: url("unnamed.png");
background-size: cover;
/* Cover the entire area; use 'contain' to fit the whole image */
background-position: center;
width: 994px;
/* Adjust based on your needs */
height: 272px;
/* Adjust based on your needs */
display: flex;
/* Use flexbox to center content (optional) */
justify-content: right;
/* Center horizontally in flex container (optional) */
align-items: center;
/* Center vertically in flex container (optional) */
border-radius: 10px;
/* Optional: adds rounded corners */
padding: 10px;
padding-top: 40px;
padding-right: 108px;
/* Optional: adds some padding inside the container */
/* Optional: adds some padding inside the container */
background-repeat: no-repeat;
background-size: contain;
}