前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >【H5 音乐播放实例】第六节 其他

【H5 音乐播放实例】第六节 其他

作者头像
剽悍一小兔
发布2018-07-04 14:42:12
2900
发布2018-07-04 14:42:12
举报
文章被收录于专栏:web编程技术分享

1.3音乐简介

效果:

1.4评论框和评论按钮

代码写在歌曲简介DIV的下面:

代码语言:javascript
复制
<!-- 用户评论 -->

<div style="width: 100%; min-height: 220px; z-index: 0;margin-top: 28px;" class="commentBox" contenteditable="true">
    <textarea id="commentInputBox"></textarea>
</div>

css:

效果:

发表评论的按钮

效果:

1.5 评论区域

css:

代码语言:javascript
复制
.comments {border: 1px dotted #666;margin-top:38px;}
.comments .comment {
    border: 1px dotted #666;
    height: 200px;
}

.comments .comment .c_left {
    width: 25%;
    border: 1px dotted #666;
    height: 100%;
    float: left;
    position: relative;
}

.comments .comment .c_right {
    width: 74%;
    height: 100%;
    float: left;
    
}

.comments .comment .c_right .c_contentBox {
    height: 160px;

}

.comments .comment .c_right .c_contentBox .c_content{
    padding:20px;
    color:#252424;
}
.comments .comment .c_right .c_bottom {
    height: 40px;
    border-top: 1px solid #8A8585;
}

.comments .comment .c_right .c_bottom .time {
    margin-left: 6px;
    line-height: 35px;
    color: #222;
}

.comments .comment .c_right .c_bottom .reply {
    float: right;
    margin: 8px 12px;
}

.comments .comment .c_right .c_bottom .reply a {
    text-decoration: none;
    color: #293F7D;
    font-weight: 600;
}

Html:

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2018.06.27 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 1.3音乐简介
  • 1.4评论框和评论按钮
  • 1.5 评论区域
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档