goTOP
October 7, 2015
點擊在新視窗中瀏覽此圖片

重點:
<!--按下two連結-->
<a href="#two">go two</a>
<!--這裡必須預留比瀏覽器高的空間-->
<!--會捲至two的位置-->
<h1 id="two">

October 7, 2015
如果設定在body背景上,也可以完成相類似的效果。
html {
  background: url(你的圖片) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
分頁: 1/1 第一頁 1 最後頁 [ 顯示模式: 摘要 | 清單 ]