Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f92c52b

Browse files
authoredNov 25, 2024··
Update style.css
1 parent a44ffd3 commit f92c52b

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed
 

‎style.css

+16-1
Original file line numberDiff line numberDiff line change
@@ -215,15 +215,30 @@ html {
215215
filter: blur(10px);
216216
}
217217

218-
.image img {
218+
/* .image img {
219219
position: absolute;
220220
top: 0;
221221
left: 50%;
222222
transform: translate(-50%);
223223
max-width: 350px;
224224
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 */
225238
}
226239

240+
241+
227242
.glowing-circle .image {
228243
position: relative;
229244
width: 380px;

0 commit comments

Comments
 (0)
Please sign in to comment.