当前位置: 代码迷 >> HTML/CSS >> css的滑门技术怎么在左右能滑动的同时上下也滑动
  详细解决方案

css的滑门技术怎么在左右能滑动的同时上下也滑动

热度:373   发布时间:2012-02-15 12:09:44.0
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
  相关解决方案