📜  如何在css代码示例中使用框阴影制作多个边框

📅  最后修改于: 2022-03-11 14:47:47.855000             🧑  作者: Mango

代码示例1
.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
*/