PN Header Layout

by Patrick Hund

HTML

<div class="mainBox">
    <header>
        <h3>
            Eingang
        </h3>
            <nav>
                Paginierung
            </nav>
            <button>
                Neu
            </button>
    </header>

</div>

CSS

body {
    font-family: sans-serif;
    background-color: #e0e5ea;
    width: 698px;
}

.mainBox {
    background-color: white;
}

header {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav {
    background-color: #A8B4C2;
    flex-basis: 290px;
    margin: 0 5px;
}

button {
    flex-basis: 120px;
}

h3 {
    margin: 0;
}

.pagingBox {
}

.buttonBox {
}