JSFiddle - React, Tailwind, and code Playground

by FaniFalyar

HTML

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <link rel="stylesheet" href="style.css">
    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.1/css/all.css">
    <title>Вход</title>
    </head>
    <body bgcolor="#34495e">
        <form class="box" action="index.html" method="post">
        <h1>Вход</h1>
        <input type="text" name="" placeholder="Имя пользователя">
        <input type="password" name="" placeholder="Пароль">
        <input type="submit" name="" value="Войти">
        </form>
            <div class="middle">
      <a class="btn" href="https://ru-ru.facebook.com/" target="_blank">
        <i class="fab fa-facebook-f"></i>
      </a>
      <a class="btn" href="https://twitter.com/?lang=ru" target="_blank">
        <i class="fab fa-twitter"></i>
      </a>
      <a class="btn" href="https://www.instagram.com/?hl=ru" target="_blank">
        <i class="fab fa-instagram"></i>
      </a>
      <a class="btn" href="https://www.youtube.com/?gl=RU&hl=ru" target="_blank">
        <i class="fab fa-youtube"></i>
      </a>
      <a class="btn" href="https://vk.com/" target="_blank">
         <i class="fab fa-vk"></i>
                </a>
    </div>

CSS

body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    background-color: #34495e;
}
.box {
    width: 400px;
    padding: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    background: #2c3e50;
    box-shadow: 0px 1px 15px -5px black;
    border-radius: 4px;
}
.box h1 {
    color: azure;
    text-transform: uppercase;
    font-weight: 500;
}
.box input[type = "text"],.box input[type = "password"]{
    border: 0;
    background: none;
    display: block;
    margin: 20px auto;
    text-align: center;
    border: 2px solid #12CBC4;
    padding: 14px 10px;
    width: 200px;
    outline: none;
    color: beige;
    border-radius: 24px;
    transition: 0.25s;
}
.box input[type = "text"]:focus,.box input[type = "password"]:focus{
    width: 280px;
    border-color: aqua;
}
.box input[type = "submit"]{
    border: 0;
    background: none;
    display: block;
    margin: 20px auto;
    text-align: center;
    border: 2px solid #44bd32;
    padding: 14px 50px;
    width: 200px;
    outline: none;
    color: beige;
    border-radius: 24px;
    transition: 0.25s;  
    cursor: pointer;
}
.box input[type = "submit"]:hover{
    background: #4cd137;
}
.middle{
  position: relative;
  display: inline-block;
  bottom: 10%;
  transform: translateY(-50%, 120%);
  width: 150px 150px;
  text-align: center;
  transform: translate(675px, -30px);
  position: fixed;
}
.btn{
  display: inline-block;
  width: 90px;
  height: 90px;
  background: #263345;
  margin: 10px;
  border-radius: 30%;
  box-shadow: 0 5px 15px -5px #00000070;
  color: #3498db;
  overflow: hidden;
  position: relative;
}
.btn i{
  line-height: 90px;
  font-size: 26px;
  transition: 0.2s linear;
}
.btn:hover i{
  transform: scale(1.3);
  color: #f1f1f1;
}
.btn::before{
  content: "";
  position: absolute;
  width: 120%;
  height: 120%;
  background: #3498db;
  transform: rotate(45deg);
  left: -110%;
  top:...