Create fractal patterns using JavaScript and CSS box shadows.