Answers for "css gradient repeating itself"

CSS
0

repeating-linear-gradient

body {
  background-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 20px,
      black 20px,
      black 40px);
  /* with multiple color stop lengths */
  background-image: repeating-linear-gradient(-45deg, 
      transparent 0 20px, 
      black 20px 40px);
}
Posted by: Guest on December-01-2020
0

repeating gradient

repeating-linear-gradient(black, white 10px, black 20px)
Posted by: Guest on February-23-2022

Browse Popular Code Answers by Language