Template:GBTCF/Bounce.css: Difference between revisions

From SNCApedia, the shit nobody cares about encyclopedia
Jump to navigationJump to search
Faggot changed the content model of the page Template:Bounce.css from "wikitext" to "Sanitized CSS": create CSS as a subpage so the extension automatically recognizes it, thanks
No edit summary
 
(One intermediate revision by one other user 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);
  }
}