JSFiddle - React, Tailwind, and code Playground

by Kocsten

HTML

<div class="layer">
    <h1>ZorNet.Ru</h1>
    <p>Раньше в этом контейнере использовались два многоуровневых слоя, где нижний слой удерживал тень, которая давала контейнеру приятную, рассеянную тень. Тот же эффект может быть значительно упрощен.<br/>&mdash;</p>
  </div>

<span class="credits">ZorNet: Создание сайта на uCoz</span>

CSS

@use postcss-nested;
@use cssnext;
@import 'https://fonts.googleapis.com/css?family=Fjalla+One|Raleway';

* {
  box-sizing: border-box;
}

html {
  font-size: 62.7%;
}

html, body {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background-color: #f2f2f2;
  font-family: 'Raleway', sans-serif;
}
  
.layer {
  background-color: white;
  width: 95%;
  max-width: 80rem;
  margin-top: 4rem;
  padding: 7.5rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-shadow: 0 3rem 5rem -2rem rgba(0, 0, 0, 0.2);
}

/* Other styling */
a {
  font-weight: bold;
  color: black;
  text-decoration: none;
  
  &:visited {
    color: black;
  }
}

.credits {
  text-align: center;
  font-size: 1.2rem;
  margin-top: 4rem;
  width: 100%;
  padding: 0 2.4rem;
}

h1 {
  text-transform: uppercase;
  font-size: 3.6rem;
  font-family: 'Fjalla One', sans-serif;
  padding: 1rem 0 0.5rem 0;
  margin: 0;
}

p {
  font-size: 1.6rem;
  line-height: 1.7;
  text-align: center;
  margin: 0.8rem 0 0 0;
  padding: 0 2.4rem;
}