CSS circle style html

      create div with class with name e.g. circle
      create in styleSheet.css class circle

html code

 <div class="circle" id="">3</div>

css code

.circle {
 border-radius: 50%;
    width: 50px;
    height: 50px;
    background: yellow;
    position: absolute;
    display: block;
    border: 6px solid blue;
    font-size: 50px;
    text-align: center;
}

3

This entry was posted in Javascript css html and tagged . Bookmark the permalink.


Comments are closed.

965 views