Shape Circle Set To Span In Html Code Example


Example 1: css circle


#circle {
width: 100px;
height: 100px;
background: red;
border-radius: 50%
}

Example 2: make span html circle css


span {
display: block;
height: 60px;
width: 60px;
line-height: 60px;

-moz-border-radius: 30px; /* or 50% */
border-radius: 30px; /* or 50% */

background-color: black;
color: white;
text-align: center;
font-size: 2em;
}

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable