“linear-gradient (atas ke bawah)” Kode Jawaban

linear-gradient (atas ke bawah)

/* A gradient going from the top to bottom
   starting red and finishing orange */

.class {
    background: linear-gradient(to bottom, #f32b60, #ff8f1f);
}
Caffeinated Developer

HTML CSS Latar Belakang Linear-Gradient

#background {
  background-image: linear-gradient(to left, #4B2C4C , #151F28);
}
Dayanaohhnana

HTML CSS Latar Belakang Linear-Gradient

background: linear-gradient(#333, #333 50%, #eee 100%);
\\code for a basic gradient background
   #grad {
  background-image: linear-gradient(red, yellow);
}  
Attractive Angelfish

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya