JSFiddle - React, Tailwind, and code Playground

by talla13

HTML

<form class="login-form" action="/auth" method="post">
    <div class="form">Укажите ваши данные:</div>
        <input type="text" placeholder="Имя, Фамилия">
        <input type="text" placeholder="E-mail">
        <input type="text" placeholder="Телефон">
        <textarea placeholder="Ваш комментарий"></textarea>
        <input type="submit" value="Отправить">
</form>

CSS

.login-form{
    font-family:Arial Narrow, sans-serif;
    box-sizing:border-box;
    width:280px;
    height:328px;
    background-color:#eaeaea;
    padding:10px 40px;
    border:1px solid #000000;
}
.form{
    text-align:center;
    margin-bottom:18px; 
    
}
.login-form input[type="text"]{
    box-sizing:border-box;
    width:195px;
    margin-bottom:15px;
    transform: skewX(-40deg);
    height:28px;
    border:1px solid #000000;
    padding:8px 20px 10px 20px;
    background-color:#eaeaea;
    
}
.login-form textarea{
    box-sizing:border-box;
    width:220px;
    height:80px;
    margin-left:-11px;
    border:1px solid #000000;
    padding:7px 20px;
    background-color:#eaeaea;
    margin-bottom:11px;
}
input:-moz-placeholder{
    font-family:Arial Narrow, sans-serif;
    transform: skewX(40deg);
}
input::-webkit-input-placeholder{
    font-family:Arial Narrow, sans-serif;
    transform: skewX(40deg);
}
textarea:-moz-placeholder{
    font-family:Arial Narrow, sans-serif;
    
}
textarea{
    font-family:Arial Narrow, sans-serif;
    
}
.login-form input[type="submit"]{
    box-sizing:border-box; 
    text-transform:uppercase;
    width:140px;
    font-family:Arial Narrow, sans-serif;
    color:#FFFFFF;
    /*background:linear-gradient(to top, #ff0000 0%, #d24a43 70%);*/
    background-image:url(C:/background-red.jpg);
    border:0px solid red;
    padding-top:3px;    
    padding-bottom:4px;
    font-size:17px;
    margin-left:30px;
    
}