web-微信通讯录

效果如下


所用图片如下


image.png

html




    通讯录
    
    
    


    
  • 新的朋友
  • 群聊
  • 标签
  • 公众号
  • C

  • 陈二
  • L

  • 李四
  • 刘一
  • Z

  • 张三
  • 赵六
  • W

  • 王五
  • A
  • B
  • C
  • D
  • E
  • F
  • G
  • H
  • I
  • J
  • K
  • L
  • M
  • N
  • O
  • P
  • Q
  • R
  • S
  • T
  • U
  • V
  • W
  • X
  • Y
  • Z
  • #

contact.css

body,html{
    padding: 0;
    margin: 0;
    font-family:微软雅黑;
}
header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 3em;
    background:#eee;
    line-height: 3em;
    padding: 0 1em;
    color: #333;
    position: fixed;
    top:0;
    left: 0;
    width: 100%;
    z-index: 999;
    box-sizing: border-box;
}
header label{
    font-size: 16px;
    font-weight: bold;
}
.icon_box{
    /*margin-right: 20px;*/
}
.icon_box img{
    height: 1.5em;
    width: 1.5em;
    vertical-align: text-bottom;
    margin-left: 0.5em;
}
.icon_box .search{
    height: 1.3em;
    width: 1.3em;
}

footer{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    height: 4em;
    background: #eee;
    align-items: center;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
}
.footer-item *{
    display: block;
    text-align: center;
}
.footer-item img{
    width: 2em;
}
.footer-item label{
    font-size: 12px;
}
.red{
    color: #a00;
    margin:0;
}

.user-list{
    list-style: none;
    padding: 0;
    margin-top: 50px;
    margin-bottom: 70px;
}
.user-item{
    position: relative;
    margin: 0;
    align-items:center;
}
.user-item img{
    width: 50px;
    height: 50px;
    position: absolute;
    left: 1em;
    top: 5px;
}
.user-item .p{
    padding: 1.2em 0 0 5em;
    margin:0;
    /*border-bottom: 1px solid #ddd;*/
    position: relative;
}
.user-list h2{
    margin: 1.35em 0 0.3em 0;
    font-size: 16px;
    padding: 10px 1em;
    color: #aaa;
    background: #e7e7e7;
}

.alphabet{
    list-style: none;
    position: fixed;
    right: 0px;
    top: 15%;
}
.alphabet li{
    font-size: 12px;
}

.lines{
    width: 100%;
    height: 1px;
    background: #ddd;
    margin-top: 1.5em;
}

你可能感兴趣的:(web-微信通讯录)