I already find following perfect CSS snippet which creates zip zag border at this link.
.h-zigzag {
background:
linear-gradient(-135deg, #333538 5px, transparent 0) 0 5px,
linear-gradient(135deg, #333538 5px, #fff 0) 0 5px;
background-color: #333538;
background-position: left bottom;
background-repeat: repeat-x;
background-size: 10px 10px;
}
As you can see the code create a perfecr zig zag border but I need to add this border to a box which contains an image as:
.h-zigzag {
background: url(../img/grrenfooter.png) repeat-x top left scroll transparent;
}
can you please help me to mix them? I already tried several ways but the image disappears when I mix them!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…