Home › Forums › CSS › Circular button showing rectangular background upon click › Reply To: Circular button showing rectangular background upon click
April 10, 2015 at 4:03 am
#200130
samvb
Participant
#btn {border:0;background-color:#F0F0F0;border-radius:50%;width:200px;height:200px}
html:
<input type=”button” id=”btn” value=”Click me”>
During click, a border appears. During tap, a background color of someking is shown. the circular button have a background of F0F0F0 against a white a body background.
Hope that’s enough.