引用js和css文件<link rel="stylesheet" href="styles/normalise.css"> <link rel="stylesheet" href="styles/style.css"> <link rel="stylesheet" href="styles/animation.css">调用方法window.onload = function () { lightbox.init({ fullscreen: true, classes: ['image3D', 'flipper', 'bulge', 'bouncing', 'side-spin', 'top-spin', 'shadow-play', 'rush'] }); }