How to make a circular image in css

前端 未结 3 978
醉话见心
醉话见心 2021-01-12 15:39

I\'m very new to this sort of thing but this is my issue. I\'ve looked through a couple of questions and it makes sense with how to make it circular but the image which is m

3条回答
  •  滥情空心
    2021-01-12 16:22

    Just add the border-radius:50%; to circular_imageClass.

    Below the neet code is....

    .circular_image{
        float:left;
        margin-left:125px;
        margin-top: 20px;
        width: 200px;
        height: 200px;
        border-radius: 50%; /* Modified*/
        /*overflow:hidden;*/
        background-color: blue; 
    }
    

提交回复
热议问题