@FarisPalayi
Posted
clip-path
seems a good idea (I don't know if it has good browser support). You can also set the .img-border
's z-index
to -1 and use border-radius: 50%
on the image.
Also, your desktop and mobile versions looks great, but, in the tablet version, there is a horizontal scrollbar. Moreover, take a look at HTML semantics, it leads to more consistent and readable code, also better for accessibility.
And, the line-height
property should be unitless, and using rem
or em
is a better idea for font-sizes.
That's all from me. Have fun coding ✨
Marked as helpful