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
 
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 9: Line 9:
}
}


.ball {
.ball2 {
   animation: toRight linear 6.8s infinite alternate, bounce linear 17s infinite alternate;
   animation: toRight linear 6.8s infinite alternate, bounce linear 17s infinite alternate;
   position:fixed;
   position:fixed;
Line 15: Line 15:
}
}


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

Latest revision as of 02:22, 29 October 2025

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


body {
  background-color: black;
}

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

.ball2 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);
  }
}