+ 2
How to place sentence in the center of circle in html using Css code
10 Antworten
+ 3
Use flexbox with margin auto.
https://code.sololearn.com/WCEP9Y0iJR93/?ref=app
+ 2
thanks
+ 1
No
+ 1
But The word circle is nit at center
0
Do you speak Russia?
0
Problem ?
0
give your element a div tag, then inside your CSS style the div by giving it a border radius of 100%
0
NOTE: for instance.
<div class= example >
<p> Some text here</p>
</div >
/*CSS */
.example
{
height: 50px;
width : 50px;
border-radius: 100%;
}
- 1
the easiest way is the use of <br> tag as u need