美文网首页
html5 活动卡片布局

html5 活动卡片布局

作者: 追逐繁星的阿忠 | 来源:发表于2020-07-16 09:05 被阅读0次
image.png



<style>
    body{
    margin: 0;
    background: #000;
    padding: 20px 0;
}
div{
    width: 80vw;
    min-height: 15vh;
    background: #456789;
    border-radius: 6px;
    margin: 0 auto;
    position: relative;
    border-top: 1px dashed #333;
}
div:first-child{
    border: none;
}

div::before,div::after{
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #000;
    position: absolute;
    z-index: 999;
}
div::before{
    left: -10px;
    top: -10px;
}
div::after{
    right: -10px;
    top: -10px;
}
div:first-child::before,div:first-child::after{
    content: '';
    width: 0;
    height: 0;
}
</style>





<div></div>
<div></div>
<div></div>
<div></div>
<div></div>

原文地址:https://www.jianshu.com/p/e83af8f2a24f

相关文章

  • html5 活动卡片布局

    原文地址:https://www.jianshu.com/p/e83af8f2a24f

  • 九、HTML5响应式布局

    @(HTML5)[相应式布局] [TOC] 九、HTML5响应式布局 什么是响应式网页设计(布局) 响应式网页设计...

  • 布局

    单栏布局两栏布局三栏布局风景列表卡片

  • 卡片布局

    CardView 卡片布局 展示效果如同将内容放在卡片中一样,提供圆角,投影等。build.gradle中添加依赖...

  • 2019-06-05

    所有笔记的图片 html5布局

  • 扣丁学堂详解H5活动页移动端REM 布局适配方法

    本篇文章扣丁学堂HTML5培训小编带读者们一起来了解一下H5活动页移动端REM 布局适配方法,对HTML5开发感兴...

  • FlutterApp首页实现

    首页实现总结 目录 根布局 Banner图 AppBar 卡片布局 根布局 根布局使用Scaffold,这个是ma...

  • collectionView卡片流水布局

    卡片式流水布局可以 ##自定义布局-继承UICollectionViewFlowLayout ###重写prepa...

  • 仿探探层叠布局

    技术点 1.在不触摸屏幕的情况下,卡片呈现层叠布局。 2.拖拽时,下层的布局随最上层卡片的位置放大或缩小 层叠布局...

  • Flutter Card卡片布局

    Card卡片布局 main.dart代码: 【效果】如下:

网友评论

      本文标题:html5 活动卡片布局

      本文链接:https://www.haomeiwen.com/subject/zobuhktx.html