分享一个仿微信PC群聊样式的邮件通知模板

WordPress优化1年前 (2023)发布 小萝卜头
845 2 0

博友们对我的邮件通知模板感兴趣,与其辛苦Copy,还不如我直接分享出来,还能顺便水一篇日志。最早不记得是看到谁的模板,也是这种聊天的形式,于是想着就仿一个大家熟悉的微信界面,废话不多说。

效果图

文章目录

分享一个仿微信PC群聊样式的邮件通知模板

在线演示CodePen

HTML

<div id="comment2u">
  <div class="wrap">
    <div class="header">嘀咕 digu.plus (2)</div>
    <div class="body">
      <div class="item notice">
        "大佬"发布了《<a href="#">仿微信PC界面</a>》,访客可通过评论加入
      </div>
      <div class="item notice">"大佬"发起了群聊,访客可通过评论加入</div>
      <div class="item notice">"大佬"通过评论加入了群聊</div>
      <div class="item notice">2016-03-18 02:18:00</div>
      <div class="item parent">
        <div class="scope">
          <div class="nick">评论者</div>
          <div class="content">
            <span class="arrow"></span>
            <p>人生最好的三种状态:不期而遇、不言而喻、不药而愈。</p>
          </div>
        </div>
        <div class="avatar">
          <img src="https://cravatar.cn/avatar?d=monsterid&s=40" alt="" />
        </div>
      </div>
      <div class="item notice">2019-09-17 01:23:00</div>
      <div class="item child">
        <div class="avatar">
          <img src="https://cravatar.cn/avatar?d=monsterid&s=40" alt="" />
        </div>
        <div class="scope">
          <div class="nick">回复者</div>
          <div class="content">
            <span class="arrow"></span>
            <p>人生最好的三个词:久别重逢,失而复得,虚惊一场。</p>
          </div>
        </div>
      </div>
      <div class="item notice">
        你被"大佬"移出群聊,请在
        "<a target="_blank" href="https://digu.plus">这里</a>"
        进行投诉
      </div>
    </div>
  </div>
</div>

CSS

#comment2u {
  font-size: 14px;
  margin: 0 auto;
  width: 720px;
  max-width: 100%;
  background-color: #eee;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}
#comment2u .wrap {
  padding: 10px 20px;
}
#comment2u .header {
  line-height: 30px;
  position: relative;

 

本文来自:分享仿微信PC邮件通知模板

© 版权声明

相关文章

2 条评论

  • wu先生
    wu先生 游客

    不明觉历。

    中国湖北黄冈市 联通
    回复
    • 小萝卜头

      欢迎常来逛逛

      中国江西 移动数据上网公共出口
      回复