Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Circular button showing rectangular background upon click Reply To: Circular button showing rectangular background upon click

#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.