html:

<div class="popBox">
<div class="pb">
<span class="clousx"></span>
<div class="p-box"></div>
</div>
</div>

css:

.popBox {
position: fixed;
width: 100%;
left: 0;
top: 0;
background: rgba(0,0,0,0.5);
height: 100%;
z-index: 150000;
}
.popBox .pb {
width: 6.58rem;
background: #fff;
display: flex;
justify-content: space-between;
position: relative;
font-size: 0.3rem;
text-align: left;
left: 0.46rem;
padding-top: 0.65rem;
border-radius: 0.1rem;
padding: .92rem .5rem .64rem .3rem;
margin-top: 2rem;
overflow-y: auto;box-sizing: border-box;
}
.popBox .clousx {
position: absolute;
z-index: 20000;
width: 1rem;
height: 0.84rem;
background: url(../images/index/close-icon.png) no-repeat center center;
background-size: 0.32rem 0.32rem;
display: inline-block;
right: 0;
top: 0;
}
.popBox .p-box {
position: relative;
height: 7rem;
overflow-y: auto;
}

最新文章

  1. Android声音播放实例代码
  2. CodeBlock
  3. sublime快捷键&lt;转&gt;
  4. 让项目同时支持ARC和非ARC
  5. ExtJS笔记 Tree
  6. VC++ MFC 按钮的全部样式Style
  7. PHP数据库基础
  8. 如何清除win7开机密码
  9. 翻译【ElasticSearch Server】第一章:开始使用ElasticSearch集群(5)
  10. [TypeScript] Understanding Generics with RxJS
  11. postgres常用操作
  12. mysql去重的最方便的两种方法
  13. a中的类型转换
  14. 禅道---Bug管理模块
  15. Python的类与类型
  16. Java NIO 之 Buffer
  17. Dockerfile中COPY命令的简单性
  18. 使用Object.prototype.toString.call()方法精确判断对象的类型
  19. Android为TV端助力 同时setTag两次,保存多种值
  20. 博客里的第一篇随笔!QWQ

热门文章

  1. Excel二维码图片生成器
  2. 【微服务架构设计实施】第一部分:架构篇-1:微服务架构与Spring Cloud介绍
  3. 【每日一题】【暴力&amp;双指针&amp;动态规划】42. 接雨水-211130/220214
  4. SQLMap入门——获取当前网站数据库的名称
  5. week_9(推荐系统)
  6. Google分布式文件系统GFS论文学习
  7. MySQL join语句怎么优化?
  8. 深入理解C++虚函数底层机制和RTTI运行时类型识别
  9. 一次JVM GC长暂停的排查过程
  10. P8701 [蓝桥杯 2019 国 B] 第八大奇迹