Home › Forums › CSS › CSS Responsive Circles › Re: CSS Responsive Circles
March 13, 2013 at 1:27 am
#127998
nordstromdesign
Participant
Use this code for the .circle class:
.circle {
position: relative;
border-radius: 50%;
width: 100%;
height: auto;
padding-top: 100%;
background: white;
}
make sure your padding top is the same as your width and make your height auto.