Skip to content

Commit 01ed992

Browse files
committedNov 2, 2024·
fix some css
1 parent 8c04533 commit 01ed992

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed
 

‎css/genral.css

+11-9
Original file line numberDiff line numberDiff line change
@@ -76,35 +76,37 @@ img {
7676
}
7777

7878
.header-div {
79-
text-align: center;
80-
margin: 0 auto;
81-
position: relative;
8279
display: flex;
8380
flex-direction: column;
8481
align-items: center;
8582
justify-content: center;
8683
gap: 2.5rem;
8784
max-width: 70rem;
85+
margin: 0 auto;
86+
text-align: center;
87+
position: relative;
8888
z-index: 1;
8989
}
9090

9191
.header-div-p {
9292
font-size: 1.6rem;
9393
font-weight: 800;
9494
text-transform: uppercase;
95-
color: white;
95+
color: #ffffff;
96+
z-index: 1;
9697
}
9798

9899
.header-div-img {
99100
position: absolute;
100-
/* transform: translate(-50%, -50%); */
101-
/* right: 33%; */
102-
z-index: -1;
103-
/* top: -7%; */
104-
width: 25rem;
105101
top: -1rem;
102+
width: 25rem;
103+
z-index: -1;
104+
object-fit: cover;
105+
left: 50%;
106+
transform: translateX(-50%);
106107
}
107108

109+
108110
.img-div {
109111
top: -50% !important;
110112
}

0 commit comments

Comments
 (0)
Please sign in to comment.