一個負責任的時間表我想這樣做導航是這樣的: 製作的HTML/CSS
我怎麼能做出這種反應?
這是我當前的代碼,但我不認爲這是響應:
HTML
<figure class="pagenation">
<a href="#1" data-liquidslider-ref="main-slider" class="colone">adddddddd</a>
<a href="#2" data-liquidslider-ref="main-slider" class="coltwo">adddddddd</a>
<a href="#3" data-liquidslider-ref="main-slider" class="colthree">adddddddd</a>
</figure>
CSS
#one {position:absolute;top:200px;background-image: url('imgact/a1.png');}
#one:hover {background-image: url('imgact/a1-over.png');}
.onehold {background-position: left bottom;
background-repeat: no-repeat;
width: 725px;height:130px;z-index: 4}
#two {position:absolute;top:238px;background-image: url('imgact/a2.png');}
#two:hover {background-image: url('imgact/a2-over.png');}
.twohold {background-position: left bottom;
background-repeat: no-repeat;
width: 725px;height:171px;z-index: 3}
#three {position:absolute;top:325px;background-image: url('imgact/3.png');display:inline-block;text-indent: 9999999px}
#three:hover {background-image: url('imgact/3over.png');}
.threehold {background-position: left bottom;
background-repeat: no-repeat;
width: 725px;height:171px;z-index: 2;}
#four {position:absolute;top:432px;background-image: url('imgact/4.png');}
#four:hover {background-image: url('imgact/4over.png');}
.fourhold {background-position: left bottom;
background-repeat: no-repeat;
width: 725px;height:171px;z-index: 1}
不要使用像素值,但百分比值(寬度)。這個「導航」是否可以拖動(黑匣子)? – Daniel