Recently, I've been working on this code snippet.
I am attempting to center the profile picture even when the screen width is reduced.
The issue lies with using position:absolute
, preventing margins:auto
from functioning properly.
As a workaround, I applied left:40%
instead.
Any suggestions on how to solve this?