我觉得这种纯黑主题比dark mode更合宜

像这样

代码如下

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>A page that uses pure black mode</title>
    <style>
        body{
            background:#000;
        }

        .card{
            width:40em;
			color:#fff;
			border:1px solid white;
        }
        
        .card-header{
            padding-top:.6em;
            padding-left:1em;
	    height:2.1em;
	    border-width: 0 0 1px 0;
	    border-style: solid;
            border-color: #fff;
			
        }

        .card-body{
	    padding:.4em 1em .7em;
	    border-width: 0 0 1px 0;
	    border-style: solid;
	    border-color: #fff;
        }

        .card-footer{
            padding-top:.6em;
            padding-left:1em;
            height:2.1em;
        }
    
    </style>
</head>
<body>
        <div class="card">
            <div class="card-header">卡片标题</div>
            <div class="card-body">卡片内容</div>
            <div class="card-footer">卡片底部</div>
        </div>
    
</body>
</html>