用碎片加载小方块实现简单的随机色块,直接上代码: 效果图: 具体代码: <!DOCTYPE html> <html> <head> <meta http-equiv=Content-Type content=text/html; charset=UTF-8> <meta charset=utf-8> <title>koringz</title> <link rel=stylesheet href=css/demo.css> </head> <body>