<!DOCTYPE html>
<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<title>菜鸟教程在线编辑器</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="qrcode.js"></script>
<style type="text/css">
.beijing{background:url(123.jpg) no-repeat 4px 5px;
background-size: contain;}
.beijing img{position:absolute;
left:6px;
top:15px;
width:100px;}
/* 弹窗 (background) */
.modal {
display: none; /* 默认隐藏 */
position: fixed; /* 固定定位 */
z-index: 1; /* 设置在顶层 */
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;<
div实现弹窗的代码
最新推荐文章于 2022-12-01 17:25:18 发布