<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <title>42度空间-内联元素水平居中-测试1</title>
    <style>
        div {
            height:60px;
            border: 2px dashed #f69c55;
        }
        .center-text {
            text-align: center;
        }
    </style>
</head>
<body>
<div class="center-text">
    简单是稳定的前提。
</div>
</body>
</html>