Html
    Css
    Js

    
                        
/*简单提示框*/
.show_msg {
	width:100%;
	text-align:center;
	position:fixed;
	left:0;
	z-index:999;
}
.show_span {
	display:inline-block;
	padding:10px 20px;
	line-height:0.35rem;
	background:rgba(0,0,0,0.8);
	border-radius:50px;
	color:#fff;
	font-size:14px;
}
.btn {
	background:orangered;
	padding:5px 20px;
	color:#fff;
	font-size:16px;
	width:60px;
	cursor:pointer;
	text-align:center;
}

                        
↑上面代码改变,会自动显示代码结果 jQuery调用版本:2.1.4
 立即下载

简单的提示框

0