html - Border radius circle -
i've code :
span p { margin: 0; } span { background-color: red; display: inline-block; border-radius: 50%; } <span> <p>25</p> <p>08</p> </span> i want make perfect circle on span. try border-radius: 50%; not work.
thanks !
you can giving span fixed width , height:
span p { margin: 0; } span { background-color: red; display: inline-block; border-radius: 50%; width: 50px; height: 50px; text-align: center; } <span> <p>25</p> <p>08</p> </span>
Comments
Post a Comment