したがって、画像の下にある :before を持つ純粋に文体的な div があり、css は次のようになります。
.the-image-div {
width: 100px;
height: 100px;
box-shadow: inset 0px 0px 3px white;
border: 1px gray solid;
position: relative;
z-index: 3;
}
.image-stack {
width: 100px;
height: 100px;
background: white;
border: 1px solid gray;
position: relative;
top:3px;
left: 3px;
z-index: 2;
}
.image-stack:before {
content: " ";
width: 100px;
height: 100px;
background: white;
border: 1px solid gray;
box-shadow: inset 0px 0px 1px white;
position: absolute;
top: 3px;
left: 3px;
z-index: 1;
}
イメージ スタックだけでなく、:before も個別に jquery で選択できるようにするとよいでしょう。目標は、画像スタック自体の数ミリ秒後にフェードすることです。アイデア?