Answers for "css add 2 colors"

CSS
2

how to give 2 different background color css

background: repeating-linear-gradient(#74ABDD, #74ABDD 49.9%, #498DCB 50.1%, #498DCB 100%);
Posted by: Guest on October-14-2020
0

how to give text two colors in css

h1 {
  font-size: 72px;
  background: -webkit-linear-gradient(green, red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
Posted by: Guest on August-28-2021

Browse Popular Code Answers by Language