I would like to use this jsfiddle 开发者_高级运维demo or something similar to expand the container div from the center. So the container div can expand to a specific size not a percentage. and the middle div shows. thanks
Like this?
Note the use of absolute
positioning and the z-index
for the bottom overlay.
You don't need to hide the middle with jQuery, it will be hidden by default.
精彩评论