Back

Draw tutorials

Germany Flag

This is what goes on HTML:

    <div class="horizontalStyle">
        <div class="black horizontal"></div>
        <div class="red horizontal"></div>
        <div class="yellow horizontal"></div>
    </div>
    

This is what goes on CSS:

    .horizontalStyle {
        display: flex;
        flex-direction: column;
    }

    .horizontal {
        width: 225px;
        height: 50px;
    }
    
    .black {
        background-color: #000000;
    }
    .red {
        background-color: #d80027;
    }
    .yellow {
        background-color: #ffda44;
    }