Answers for "make background image rounded css"

CSS
3

css image round

img {
  border-radius: 50%;
  height:200px;
  width:200px;
} 
/*image size, (height & width) both must be same.
	if they are not same then no circle. 
*/
Posted by: Guest on September-12-2021
0

css3 background image curve

body {
  margin: 0;
  background: red;
}

div#back {
  position: relative;
  height: 200px;
  background-image: url(http://wearepeak.co.uk/wp-content/uploads/2016/02/testimonial.jpg);
  width: 100%;
  border-bottom-left-radius: 70% 60px;
  border-bottom-right-radius: 30% 10px;
}
Posted by: Guest on October-07-2020

Code answers related to "make background image rounded css"

Browse Popular Code Answers by Language