There are several ways to achieve this, but in this case, here is how they did it:
If you look at HTML, you will see that <img> is inside <a> , and inside the same <a> is the second <img> , corner_sprite.png . If you look at this image, you will see that it is a series of white corners that are suitable for different sizes. Using CSS, they simply overlay this image on top of the image whose corners they want to round so that the corners coincide with the image of the corresponding size. The CSS file in which they are executed is here . Find "rounders" (a CSS decoder may be useful here).
Jordan running
source share