html - Form input border-radius not working properly -
i testing css on forms , bumped on this: http://jsfiddle.net/gespinha/z4a4g/1/
as try make form inputs round-cornered, assume whole input round object.
border-radius:50%;
any suggestion on how achieve correctly? why happen?
giving px
value works best in scenario. percentage typically used when creating shapes (in case, circle)
input{ border-radius:10px; }
i believe this you're going for. giving borders percentage mean different based on width , height. using px
gives consistent look.
Comments
Post a Comment