- This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hello! I’m trying to achieve [this](http://i5.photobucket.com/albums/y159/devisi0n/Screenshot2012-12-06at115110AM.png “this”) a liquid container div with a zig-zag border on the top and bottom with a drop shadow!
I’m familiar with creating an [arrow div](https://css-tricks.com/triangle-with-shadow/ “arrow div”) with a shadow and a [zig-zag background](http://lea.verou.me/css3patterns/#zig-zag “zig-zag background”), unfortunately the former method can’t be repeatable and the latter method can’t have a drop shadow applied to it and with both methods it can’t be guaranteed that the edge’s of the first and last triangle align flush with the containing box.
How best should I approach this?
Thanks!
Pretty sure that whatever method you use a drop-shadow is going to be difficult…at least until the drop-shadow filter is fully supported.
Best as I can figure right now is a background image but that’s not going to help with the alignment of the triangle thing you want.
If you mean a box-shadow then yes but you have to use two….one to the left and one to the right.
You are going to get a little bleed on the top and bottom though