CSS: How do I center two DIV's within a parent DIV?

#eltern-container {
    position: relative;
    float: none;
    margin: 0 auto;
    width: 100%;

    /* The following three instructions are crucial! */
    display: flex;
    justify-content: center;
    align-items: center;
Without cookies
This website does not use cookies or tracking. More information can be found in the privacy policy.