Interactive online courses HTML Academy
2026-03-09 10:47 Diff

In this section, you have already created a simple ornament using linear gradients. Now we challenge you to become a real ninja at creating patterns with CSS!

To help you, we have left the set property background-size in the code and included the used values for background-position for parts of the ninja stars as comments. The proportions of the tilt angles are specified in degrees and multiples of 5. The dimensions of the color stops are specified in pixels and are also multiples of 5.

Hint: Before starting, draw six triangles on a piece of paper, and then combine them to form a ninja star.

Used colors: #000000 and #555555