Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- body{
- color: #fff;
- margin: 0;
- text-align: center;
- background: #000;
- cursor: crosshair;
- overflow: hidden;
- }
- .header{
- display: none;
- }
- .disable-selection{
- user-select: none;
- -moz-user-select: none;
- -webkit-user-select: none;
- -webkit-touch-callout: none;
- }
- h1{
- white-space: nowrap;
- font-size: 36px;
- }
- h1::after{
- content: ' by XIPureGamer';
- position: absolute;
- font-size: 18px;
- top: -15px;
- padding-left: 5px;
- font-weight: 400;
- }
- p{
- font-size: 20px;
- color: rgba(255, 255, 255, 0.5);
- }
- /* moves the left side of the screen that is shown at the start to the left */
- @keyframes removeLeftPanel {
- 0% {
- transform: translateX(0);
- }
- 100% {
- transform: translateX(-100%);
- }
- }
- /* moves the right side of the screen that is shown at the start to the left */
- @keyframes removeRightPanel {
- 0% {
- transform: translateX(0);
- }
- 100% {
- transform: translateX(100%);
- display: none;
- }
- }
- /* fades in and out the water drop that is shown at the start */
- @keyframes initialDrop {
- 0% {
- opacity: 0;
- }
- 50% {
- opacity: 1;
- }
- 98% {
- opacity: 1;
- }
- 100% {
- opacity: 0;
- }
- }
- /* the line animation shown after the initial screen moves out of the way */
- @keyframes line {
- 0% {
- left: 50%;
- width: 0;
- color: red;
- }
- 33% {
- left: 0%;
- width: 200px;
- }
- 66% {
- left: 0%;
- width: 200px;
- }
- 100% {
- left: 50%;
- width: 0;
- }
- }
- /* drops the water drop into the line then fades it out */
- @keyframes dropDrop {
- 0% {
- top: 0;
- }
- 66% {
- top: 0;
- }
- 80% {
- opacity: 1;
- }
- 92.5% {
- opacity: 0;
- }
- 100% {
- top: 4rem;
- opacity: 0;
- }
- }
- /* fades the screen out at the end of the animation */
- @keyframes fadeScreenOut {
- 0% {
- opacity: 1;
- }
- 100% {
- opacity: 0;
- }
- }
- body,
- * {
- margin: 0;
- padding: 0;
- overflow: hidden;
- }
- /* fades screen out at then end of the animation */
- .fade-screen-out {
- animation: fadeScreenOut 75ms;
- }
- .animation-container .container {
- width: 100vw;
- height: 100vh;
- display: block;
- }
- i {
- font-size: 20px;
- }
- .drop-container {
- display: flex;
- justify-content: center;
- align-items: center;
- flex-direction: column;
- gap: 3.5rem;
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- }
- .drop-container .initial-drop {
- animation-name: initialDrop;
- animation-duration: 2.1s;
- /* color of the water drop shown at the start */
- color: black;
- display: block;
- }
- .drop-container .stand-in {
- height: 0.5px;
- width: 0;
- }
- .panel {
- position: absolute;
- top: 0;
- width: 50vw;
- height: 100vh;
- /* background color of the screen shown at the start */
- background-color: #454242;
- animation-duration: 1.5s;
- transition-delay: 2s;
- display: block;
- }
- .panel.left-panel {
- left: 0;
- animation-name: removeLeftPanel;
- }
- .panel.right-panel {
- right: 0;
- animation-name: removeRightPanel;
- }
- .under-panels {
- /* min-width: 100vw;
- height: 100vh; */
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- display: flex;
- justify-content: center;
- align-items: center;
- flex-direction: column;
- gap: 3.5rem;
- /* background color of the background of the screen shown at the end */
- background-color: #171716;
- z-index: -1;
- }
- .under-panels .end-drop {
- /* color of the water drop at the end */
- color: white;
- animation: dropDrop 2s;
- transition-delay: 1.5s;
- position: relative;
- display: none;
- }
- .under-panels .line {
- width: 0px;
- height: 0.1px;
- /* color of the line shown at the end */
- background-color: #fff;
- animation: line 2s linear forwards;
- transition-delay: 3.5s;
- }
- .black-screen {
- position: fixed;
- top: 0;
- left: 0;
- width: 100vw;
- height: 100vh;
- background-color: black;
- z-index: 2;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement