日期:2014-05-17  浏览次数:20661 次

css的滑门技术如何在左右能滑动的同时上下也滑动?
css的滑门技术如何实现上下左右都能滑动?

------解决方案--------------------
用这样的方法必须在标记中添加额外的无语义元素
比如这样
<div class= "box ">
<div class= "box-outer ">
<div class= "box-inner ">
<h3> Headline </h2>
<p> Content </p>
</div>
</div>
<div>
准备四个图片 两个顶部图像组成顶部 两个地步图像组成底部 和整个框架的主体

top-left.gif
top-right.gif
bottom-left.gif
bottom-right.gif

.box 用bottom-left.gif
.box-outer 用bottom-right.gif
.box-inner 用top-left.gif
.box h2 用top-right.gif