Back to home prev next
CSS code

I thought this one would be a piece of cake. (The target was - basically - the YouTube icon, a white triangle set on a red background.) I know how to make a rectangle with rounded corners. And I know how to make a triangle with CSS using border properties! But maybe there is another approach, because I would get a pixel's width difference on one or more of the sides no matter what I tried. 99.9%. So frustrating!

Check out my code