1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<!DOCTYPE html> <html> <head> <style> div { float: left; width: 300px; height: 200px; background: url(repeatable-diagonal-gradient.png); } </style> </head> <body> <div id="a" style="width:0"></div> <div id="b" style="opacity:0.999"></div> </body> </html>