Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 73905

Not able to rotate only the border around the circle and not the image or content

$
0
0

I have created the circle around the image and I want to rotate the border only, not the image.

This is the image that I wanted to create and rotate only the blue border, not the image.

enter image description here

I have created like this:

#circle2 {
  background-color: transparent;
  border-radius: 100%;
  border: 6px solid #337AB7;
  border-left: 6px solid transparent;
}
<div id="circle2"><div class="elementor-widget-container"><div class="elementor-image"><img src="http://www.fillmurray.com/200/200" class="attachment-large size-large"></div></div></div>

enter image description here

I want to rotate the blue border around the image not the image.

Any help is much appreciated.


Viewing all articles
Browse latest Browse all 73905

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>