Rounding the sides of a big image contained in a small division not working in Chrome

前端 未结 3 691
有刺的猬
有刺的猬 2021-01-21 11:14

I am trying to rounding the sides of a background image with border-radius property.

Here is my scenario:

I placed a big image in a small division a

3条回答
  •  不要未来只要你来
    2021-01-21 12:03

    Just Updated your Fiddle. Hope this will solve your problem.

    DEMO

    http://jsfiddle.net/saorabhkr/e94q3/13/

    Removed fixed width from this class (.video-thumbnail) and put background-size in your markup where you are adding image/video.

提交回复
热议问题