JSFiddle - React, Tailwind, and code Playground
by luka kupunia
HTML
<div class="btn">
<div class="back"></div>
</div>
CSS
/* START OF _CONTACT */
.container.contact ._body {
display: flex;
padding-top: 87px;
}
.container.contact ._heading div:nth-child(1) {
font-size: 46px;
line-height: 81px;
color: white;
}
.container.contact ._heading div:nth-child(2) {
font-size: 68px;
line-height: 81px;
color: white;
}
._c-side:nth-child(1) {
flex: 3;
padding-right: 40px;
}
._c-side:nth-child(2) {
flex: 5;
}
._c-side .head {
margin-bottom: 45px;
}
._c-side .head div:nth-child(1) {
font-size: 29px;
color: white;
}
._c-side .head div:nth-child(2) {
font-size: 35px;
color: white;
}
._c-side form {
display: block;
}
._c-side form .inp {
display: flex;
justify-content: space-between;
position: relative;
}
._c-side form .inp:nth-child(1) .input:nth-child(1) {
margin-right: 15px;
}
._c-side form .inp:nth-child(1) .input:nth-child(2) {
margin-left: 15px;
}
._c-side form .inp .input {
width: 100%;
position: relative;
background: white;
margin-bottom: 45px;
border-radius: 50px;
padding-right: 30px;
display: block;
box-shadow: 0 0 45.4px 8.6px rgba(38, 188, 190, .2);
}
._c-side form .inp .input label {
padding: 34px 35px 34px 44px;
font-size: 16px;
color: #151c44;
margin: 0;
line-height: 16px;
width: 125px;
/*vertical-align: top;*/
}
._c-side form .inp .input input {
border: none;
margin: 0;
outline: none;
width: calc(100% - 130px);
}
._c-side form .inp:nth-child(3) label {
vertical-align: top;
}
._c-side form .inp .input textarea {
border: none;
outline: none;
padding-top: 30px;
}
._c-side form button {
width: 240px;
}
._c-side form button i {
font-size: 24px;
margin-right: 20px;
}
._c-side:nth-child(1) ul {
list-style: none;
margin: 0;
padding: 0;
}
._c-side:nth-child(1) ul li {
padding: 0;
margin: 0;
display: flex;
margin-bottom: 45px;
}
._c-side:nth-child(1) ul li...