<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <title>42度空间-EM 还是 REM?rem的组件测试程序</title>
    <style>
        .header {
            font-size: 1rem;
            padding: 0.5em 0.75em;
            background: #7F7CFF;
        }
        .header-large {
            font-size: 2rem;
        }
        a {
            text-decoration: none;
            font-weight: bold;
            color: #000;
        }
        div {
            padding: 1rem;
        }
        html {
            font-size: 32px;
        }
    </style>
</head>
<body>
<div>
    <a href="#" class="header">简单是稳定的前提</a>
</div>
<div>
    <a href="#" class="header header-large">简单是稳定的前提</a>
</div>
</body>
</html>