JSFiddle - React, Tailwind, and code Playground

HTML

<input type="checkbox" id="fix"/>
<label for="fix">Включить <code>clear</code></label>


<div class="header">
    <div class="elem_1">part1</div>
    <div class="elem_2">par2</div>
    <div class="contacts">
        contacts
    </div>
    <div class="form">
        form
    </div>
</div>

CSS

.header{
    width: 400px;
    overflow: hidden;
    background: blue;
    margin-top: 30px;
}

.elem_1,.elem_2{
    height: 50px;
    float: left;
}

.elem_1{
    width: 100px;
    background: red;
}

.elem_2{
    width: 200px;
    background: green;
}

.contacts{
    height: 60px;
    width: 100px;
    background: yellow;
    margin-bottom:10px;
    float: right;
}
.form{
    height: 30px;
    width: 100px;
    background:lightblue;
    float: right;
}

#fix:checked ~ .header .form {
    clear: right;
}