Reveal text with pseudo elements

PHOTO EMBED

Sun Mar 14 2021 11:12:50 GMT+0000 (UTC)

Saved by @Christo #undefined

/* Basic styles */

*,

*::before,

*::after {

  box-sizing: border-box;

}

​

:root{

    --bg-color: #D8D8D8;

}

​

body {

  display: flex;

  align-items: center;

  justify-content: center;

  overflow: hidden;

  width: 100vw;

  height: 100vh;
content_copyCOPY

https://codepen.io/aruizh/pen/OBqxVj