css实现折叠式结算单据效果代码

代码语言:html

所属分类:布局界面

代码描述:css实现折叠式结算单据效果代码

代码标签: css 折叠式 结算 单据

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <style>
        html {
    	box-sizing:border-box;
    }
    *,*:before,*:after {
    	box-sizing:inherit;
    }
    body {
    	margin:40px;
    	background:#f4f4f4;
    }
    .receipt {
    	width:400px;
    	max-width:100%;
    	margin:auto;
    	position:relative;
    }
    .receipt__half {
    	display:flex;
    	flex-direction:column;
    	justify-content:center;
    	align-items:center;
    	width:100%;
    	position:relative;
    	background:white;
    	-webkit-perspective:1000px;
    	perspective:1000px;
    }
    .receipt__half::after {
    	content:'';
    	display:block;
    	width:100%;
    	height:100px;
    	position:absolute;
    	left:0;
    	-webkit-backface-visibility:hidden;
    	ba.........完整代码请登录后点击上方下载按钮下载查看

网友评论0