“CSS Teks Pelangi” Kode Jawaban

Teks Pelangi dengan CSS

.rainbow-text {
  background-image: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet);
  -webkit-background-clip: text;
  color: transparent;
}
DCmax1k

CSS Teks Pelangi

#grad1 {
    height: 200px;
    background: red; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(left, orange , yellow, green, cyan, blue, violet); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(right, orange, yellow, green, cyan, blue, violet); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(right, orange, yellow, green, cyan, blue, violet); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to right, orange , yellow, green, cyan, blue, violet); /* Standard syntax (must be last) */
}
Adorable Alligator

CSS Teks Pelangi

JEU DE RôLE
Gleaming Goldfinch

Jawaban yang mirip dengan “CSS Teks Pelangi”

Pertanyaan yang mirip dengan “CSS Teks Pelangi”

Lebih banyak jawaban terkait untuk “CSS Teks Pelangi” di CSS

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya