Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CSS3 Border Radius Not Working for div element

Tags:

html

css

I'm new in Web. everything was fine but in the case border-radius not working in browser anyone like chrome/FF. The CSS code like this :

.work-step div {
color: #e67e22;
margin: 2px solid #e67e22;
display: inline-block;
border-radius: 50%; //not working
height: 50px;
width: 50px;
text-align: center;
float: left;
padding: 5px;
font-size: 120%;
margin-left: 25px;

}

like image 686
PoRaG Avatar asked Dec 14 '22 17:12

PoRaG


1 Answers

Add this to your css

overflow:hidden;
like image 123
Really Nice Code Avatar answered Dec 17 '22 23:12

Really Nice Code