如何用jquery方法写留言版

留言板样式代码块

@charset 'utf-8';
	/* 去除全局默认边距*/
* {
    margin: 0;
    padding: 0;
}

li {
    width: 100%;
    padding: 10px;
    list-style: none;
    display: flex;
    border-radius: 5px;
    border-bottom: 1px solid rgb(175, 58, 58);
}

ul {
    padding: 0px;
}

.b {
    margin-left: 20px;
    font-size: 18px;
    color: red;
    font-weight: 200;
    font-family: '宋体';
}
/* 全局盒子样式 */
.wrap {
    width: 60%;
    padding: 30px;
    margin: 0 auto;
    margin-top: 20px;
    border: 5px solid #999;
    border-radius: 10px;
}
/* 头部图片样式 */
.headPortrait img {
    width: 100px;
    height: 100px;
    border-radius: 100%;
    border: 2px solid #999;
    margin-left: 10px;
    transition: transform 1000ms;
}

.headPortrait img:hover {
    cursor: pointer;
    transform: rotate(720deg);
}
 
img.active {
    border: 2px solid rgb(219, 17, 17);
}
/* 昵称样式 */
#nickName {
    width: 400px;
    height: 30px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #999;
    margin: 20px 0px 10px 0px;
    outline: none;
}
/* textarea留言内容输入区样式 */
#leaveMessage {
    width: 430px;
    padding: 10px;
    height: 80px;
    outline: none;
    border-radius: 5px;
    border: 1px solid #999;
    margin-bottom: 10px;
}
/* 留言发送样式 */
.messageSend {
    width: 100px;
    line-height: 30px;
    border-radius: 20px;
    cursor: pointer;
    outline: none;
    border: 1px solid orange;
    background-color: pink;
}

/* 渲染
  • 1
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值