Html
    Css
    Js

    
                        
 * {
	padding:0;
	margin:0;
}
body {
	width:100%;
	height:100%;
	background:rgb(65,65,63);
}
.bacground {
	width:700px;
	height:100%;
	background:white;
	margin:auto;
	margin-top:20px;
}
.head,.pop-head {
	height:50px;
	font-size:20px;
	text-align:center;
	line-height:50px;
}
.name {
	width:640px;
	height:40px;
	font-size:20px;
	margin:10px 28px;
	line-height:50px;
	border-radius:8px;
	border:2px solid rgb(139,137,137);
	outline:none;
}
.content,.pop-reply {
	width:640px;
	height:150px;
	font-size:22px;
	margin:10px 28px;
	border:2px solid rgb(139,137,137);
	outline:none;
	border-radius:8px;
	resize:none;
}
.btn,.pop-btn {
	float:right;
	height:30px;
	margin-right:28px;
	border-radius:6px;
	outline:none;
	font-size:20px;
	padding:0 20px;
	background:rgb(169,238,255);
}
h3 {
	font-size:20px;
	color:rgb(102,102,102);
	background:rgb(205,221,248);
	margin-top:50px;
	line-height:50px;
	text-indent:30px;
	font-weight:545;
}
li {
	list-style:none;
	width:640px;
	font-size:22px;
	margin:15px 30px;
}
.message-head {
	display:flex;
}
.message-head .photo {
	width:70px;
	height:70px;
	background:rgb(6,109,134);
	display:inline-block;
	border-radius:50%;
	text-align:center;
	line-height:70px;
	overflow:hidden;
}
.message-head .time {
	margin-left:12px;
}
.liuyan,.reply p {
	width:560px;
	/* height:76px;
	*/
    line-height:50px;
	display:block;
	background:rgb(205,221,248);
	font-size:20px;
	margin-left:80px;
	border-radius:8px;
	text-indent:15px;
}
. {
	width:60px;
	height:30px;
	display:block;
	line-height:30px;
	margin-left:580px;
	/* margin-bottom:0px;
	*/
    border-radius:6px;
	outline:none;
	font-size:15px;
	background:rgb(169,238,255);
}
.answer {
	width:60px;
	height:30px;
	display:block;
	line-height:30px;
	margin-top:-29px;
	margin-left:515px;
	border-radius:6px;
	outline:none;
	font-size:15px;
	background:rgb(169,238,255);
}
.popup {
	width:100vw;
	height:100vh;
	position:fixed;
	background:rgba(0,0,0,.3);
	left:0;
	top:0;
	z-index:10;
	display:flex;
	align-items:center;
	justify-content:center;
	display:none;
}
.pop-content {
	width:700px;
	background:#fff;
	border-radius:10px;
	overflow:hidden;
	padding-bottom:20px;
}
.reply p {
	margin-top:10px;
	background:rgba(100,100,100,.1);
}

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

简易的留言板 (原创)

更新时间:2019-12-17 09:12:01

0