html留言页面设计,html的留言板制作(js)

这篇博客介绍了如何使用HTML和JavaScript来创建一个留言页面。内容包括CSS样式设置、留言框设计、JavaScript函数实现留言的保存、显示和清空功能。通过示例代码详细解释了各个部分的功能和交互逻辑。
摘要由CSDN通过智能技术生成
记事本

*{margin:0; padding:0;}

body,input{font-size:14px; line-height:24px; color:#333; font-family:Microsoft yahei, Song, Arial, Helvetica, Tahoma, Geneva;}

h1{margin-bottom:15px; height:100px; line-height:100px; text-align:center; font-size:24px; color:#fff; background:black;}

#content #post,#comment p{zoom:1;}

#content #post:after,#comment p:after{display:block; height:0; clear:both; visibility:hidden; overflow:hidden; content:‘.‘;}

.transition{-webkit-transition:all 0.5s linear; -moz-transition:all 0.5s linear; -o-transition:all 0.5s linear; -ms-transition:all 0.5s linear; transition:all 0.5s linear;}

#content{margin:0auto; width:960px; overflow:hidden;}

#content #post{margin-bottom:15px; padding-bottom:15px; border-bottom:1px #d4d4d4 dashed;

height: 556px;

}

#content #post textarea{display:block; margin-bottom:10px; padding:5px; width:948px; height:390px; bor

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值