- Guest
How to make circle avatar in the post profile? In this it should be border-radius: 100px?
For circles, it's always border-radius: 50%;
That will only work for square photos though, not rectangles. To force the avatar to become a square (and in turn a perfect circle), we also add object-fit: cover;
Add both to .author-img img
That will only work for square photos though, not rectangles. To force the avatar to become a square (and in turn a perfect circle), we also add object-fit: cover;
Add both to .author-img img
- Guest
After. Author-img img i placed border-radius: 50% but still remain same....
- Guest
Ok wait
- Guest
Removed. But still not changed. You can try it?
- Guest
Thanks. But why last post avatar is not circle yet? I added border-radius: 50%; but still not working
- Guest
Solved, thanks.
Similar topics
Create an account or log in to leave a reply
You need to be a member in order to leave a reply.
Permissions in this forum:
You cannot reply to topics in this forum
|
|