Template:GBTCF/Bounce.css: Difference between revisions

From SNCApedia, the shit nobody cares about encyclopedia
Jump to navigationJump to search
Dobkun (talk | contribs)
IF THIS SHIT DOES NOT WORK PLEASE INSTALL TEMPLATESTYLES PLUGIN THANK YOU
 
Dobkun (talk | contribs)
m Dobkun moved page Template:Bounce.css to Template:GBTCF/Bounce.css without leaving a redirect
 
(One intermediate revision by one other user not shown)
(No difference)

Latest revision as of 13:08, 1 September 2025

:root {  
  height:calc(2);
  width:250px;
}


body {
  background-color: black;
}

.ball {
  animation: toRight linear 6.8s infinite alternate, bounce linear 17s infinite alternate;
  position:fixed;
  z-index: 100;
}

.ball span span {
    white-space: nowrap; 
}

@keyframes bounce {
  0% {
    top: 0;
  }
  100% {
    top: calc(100vh - 200px);
  }
}

@keyframes toRight {
  0% {
    left: 0;
  }
  100% {
    left: calc(100vw - 400px);
  }
}