File tree 1 file changed +11
-9
lines changed
1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -76,35 +76,37 @@ img {
76
76
}
77
77
78
78
.header-div {
79
- text-align : center;
80
- margin : 0 auto;
81
- position : relative;
82
79
display : flex;
83
80
flex-direction : column;
84
81
align-items : center;
85
82
justify-content : center;
86
83
gap : 2.5rem ;
87
84
max-width : 70rem ;
85
+ margin : 0 auto;
86
+ text-align : center;
87
+ position : relative;
88
88
z-index : 1 ;
89
89
}
90
90
91
91
.header-div-p {
92
92
font-size : 1.6rem ;
93
93
font-weight : 800 ;
94
94
text-transform : uppercase;
95
- color : white;
95
+ color : # ffffff ;
96
+ z-index : 1 ;
96
97
}
97
98
98
99
.header-div-img {
99
100
position : absolute;
100
- /* transform: translate(-50%, -50%); */
101
- /* right: 33%; */
102
- z-index : -1 ;
103
- /* top: -7%; */
104
- width : 25rem ;
105
101
top : -1rem ;
102
+ width : 25rem ;
103
+ z-index : -1 ;
104
+ object-fit : cover;
105
+ left : 50% ;
106
+ transform : translateX (-50% );
106
107
}
107
108
109
+
108
110
.img-div {
109
111
top : -50% !important ;
110
112
}
You can’t perform that action at this time.
0 commit comments