File tree 1 file changed +16
-1
lines changed
1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -215,15 +215,30 @@ html {
215
215
filter : blur (10px );
216
216
}
217
217
218
- .image img {
218
+ /* .image img {
219
219
position: absolute;
220
220
top: 0;
221
221
left: 50%;
222
222
transform: translate(-50%);
223
223
max-width: 350px;
224
224
object-fit: cover;
225
+ } */
226
+
227
+ .image img {
228
+ position : absolute;
229
+ top : 0 ;
230
+ left : 50% ;
231
+ transform : translate (-50% );
232
+ max-width : 350px ; /* Set the max width */
233
+ max-height : 350px ; /* Set the max height */
234
+ width : 100% ; /* Ensure image scales within the max-width */
235
+ height : 100% ; /* Maintain aspect ratio */
236
+ border-radius : 50% ; /* Make the image circular */
237
+ object-fit : cover; /* Ensure it covers the area */
225
238
}
226
239
240
+
241
+
227
242
.glowing-circle .image {
228
243
position : relative;
229
244
width : 380px ;
You can’t perform that action at this time.
0 commit comments