Customboxs
基于纯Javascript和CSS3构建模态对话框,支持多窗口。在开源的基础进行了修改,以支持z-index属性的支持。
期间如有冒犯原创造者,请联系我。
Usage
npm:
npm install customboxs
Alternatively, download the package and reference the JavaScript and CSS files manually:
Optional legacy file for along for the older browsers.
Basic usage
overlay: color: "#000" //遮罩层颜色 opacity:05 //遮罩层透明度,默认0.48 zIndex: 9997 //遮罩层 z-index content: effect: 'fadein' target: '#modal' ;