0

Why circle word is not displayed inside the circle??

https://code.sololearn.com/WH1HdKPpvPxu/?ref=app

1st Feb 2020, 1:11 PM
SHIVANI
SHIVANI - avatar
4 Answers
+ 2
Change the color to black, you'll know why 👍 https://code.sololearn.com/WhM97rr4XCw6/?ref=app
1st Feb 2020, 1:17 PM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 1
Because when you use border-radius , it appears like a circle but the container is actually a square then also. So you can use text align with value as center and padding-top to bring the text inside the circle....
1st Feb 2020, 1:18 PM
ヽ(^。^)ノ✨ヽ(^。^)ノ
ヽ(^。^)ノ✨ヽ(^。^)ノ - avatar
+ 1
You used padding.
1st Feb 2020, 1:37 PM
Aymane Boukrouh
Aymane Boukrouh - avatar
0
Ok then for this👉👉 https://code.sololearn.com/WnaeQ3CLD5pF/?ref=app Without using any text-align Or margin-top text is display inside the shape why so??
1st Feb 2020, 1:30 PM
SHIVANI
SHIVANI - avatar