I have a circular div with some css that causes it to expand on mousover. I have no idea how to start by having another large circle sit behind it with the same central point. This can create a ring around the first circle.
eg. with each green ring representing the outside of the next lap (3 laps total)

image example
I donβt think I explained it very well!: / Sorry! I need separate divs, not the one that creates the outer ring!
Here is my current code:
#circles { margin-right:auto; margin-left:auto; width:800px; height:800px; alignment-adjust:central; } .circle1 {position:relative; margin-top:50%; margin-right:auto; margin-left:auto; width:100px; height:100px; border-radius:50%; background: #ff3019; background: -moz-linear-gradient(top, #ff3019 0%, #cf0404 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ff3019), color-stop(100%,#cf0404)); background: -webkit-linear-gradient(top, #ff3019 0%,#cf0404 100%); background: -o-linear-gradient(top, #ff3019 0%,#cf0404 100%); background: -ms-linear-gradient(top, #ff3019 0%,#cf0404 100%); background: linear-gradient(to bottom, #ff3019 0%,#cf0404 100%); transition:1s; -moz-transition: 1s; -webkit-transition: 1s; -o-transition: 1s; -ms-transition: 1s; }
source share