Answers for "multiple box-shadow css"

CSS
0

how to make multiple borders using box shadow in css

.many_borders {
  box-shadow:
    0 0 0 10px red,
    0 0 0 15px blue,
    0 0 0 20px red,
    0 0 0 25px blue;
}

/* 
	Here the fourth parameter is called the spread and it basically means after how many
	pixels the shadow should start spreading
*/
Posted by: Guest on July-07-2021
0

multiple box shadows css

.container{
  box-shadow:
    0 0 0 10px hsl(0, 0%, 80%),
    0 0 0 15px hsl(0, 0%, 90%);
}
Posted by: Guest on August-15-2021

Browse Popular Code Answers by Language