With CSS it is easy to shape (clip) images to circles, ellipses and polygons.
The CSS clip-path Property
The clip-path property lets you clip an element to a basic shape.
The CSS circle() Function
The circle()
function defines a circle with a radius and a position.
The circle()
function is used within the clip-path
property.