“CSS Shadow” Kode Jawaban

CSS Box Shadow

/* offset-x | offset-y | blur-radius | spread-radius | color */
box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
Friendly Hawk

CSS Shadow

.yourElement {
  /* offset-x | offset-y | blur-radius | spread-radius | color */
  -webkit-box-shadow: -2px -1px 15px 7px rgba(0,0,0,0.5);
  -moz-box-shadow: -3px -2px 30px 14px rgba(0,0,0,0.425);
  box-shadow: -4px -3px 45px 21px rgba(0,0,0,0.35);
}
Objectively Hilarious

Menambahkan Bayangan ke Div

/* CSS box shadow look like paper lift up*/
/* provide shadow to all four corners */
/* source - W3Schools.com */
 box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
Enthusiastic Elephant

CSS Box Shadow

#example1 {
  box-shadow: 10px 10px 8px #888888;
}
Mobile Star

CSS Shadow

.yourElement {
  /* offset-x | offset-y | blur-radius | spread-radius | color */
  -webkit-box-shadow: -2px -1px 15px 7px rgba(0,0,0,0.5);
  -moz-box-shadow: -3px -2px 30px 14px rgba(0,0,0,0.425);
  box-shadow: -4px -3px 45px 21px rgba(0,0,0,0.35);
}
/*Multi layers shadow for the TEXT*/
.YourTextClassName {
  color: #53BAC1;
  text-shadow: 10px 10px 0px #DC4530, 20px 20px 0px #FDC52D; 
  font-size: 120px;
  text-transform: uppercase;
  font-family: Roboto;
  font-weight:900;
  -webkit-text-stroke:5px black;
} 
Famous Fowl

CSS Shadow

/*Multi layers shadow for the TEXT*/
.YourTextClassName {
  color: #53BAC1;
  text-shadow: 10px 10px 0px #DC4530, 20px 20px 0px #FDC52D; 
  font-size: 120px;
  text-transform: uppercase;
  font-family: Roboto;
  font-weight:900;
  -webkit-text-stroke:5px black;
} 
Excited Eel

Jawaban yang mirip dengan “CSS Shadow”

Pertanyaan yang mirip dengan “CSS Shadow”

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya