Source Code: (back to article)
<!DOCTYPE html>
<html>
<head>
<style>
section {
display: flex;
display: -webkit-flex;
height: 200px;
width: 50%;
margin: auto;
border-radius: 10px;
border: 5px solid black;
background-color: grey;
}
p {
text-align: center;
margin: auto; /* Important */
font-family: Calibri; }
</style>
</head>
<body>
<section>
<p> Ich bin mit Flexbox zentriert!</p>
</section>
</body>
</html>