Answers for "what is the css style name to create a shadow?"

CSS
23

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);
}
Posted by: Guest on October-30-2020
2

css shadow border

box-shadow: 0 -1px 0 0 red; /* Border top */
box-shadow: 1px 0 0 0 red; /* Border right */
box-shadow: 0 1px 0 0 red; /* Border bottom */
box-shadow: -1px 0 0 0 red; /* Border left */
box-shadow: 0 0 0 1px red; /* All the borders by using the spread properties */
Posted by: Guest on June-08-2021
3

css shadow

box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.23);
Posted by: Guest on December-16-2021
0

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;
}
Posted by: Guest on January-05-2022
0

apply css to shadow dom

document.querySelector("[data-spot-im-shadow-host]")
 .shadowRoot.querySelector("#spotim-specific .Typography__product-heading")
 .setAttribute("style", "color: red!important");
Posted by: Guest on November-26-2021

Browse Popular Code Answers by Language