1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <style> #x { width: 280px; height: 280px; background-image: repeating-linear-gradient(to bottom right, white, black, white 30px); } </style> </head> <body> <div id="x"></div> </body> </html>