thisサイトのようにフッタ効果を作りたいと思います。私は私のコンテンツのラッパーが必要と思うし、フッターを追加します。固定フッタのような固定フッタ効果
ので、構造は次のように次のようになります。しかし、これはこの効果がありません
.footer{
width: 100%;
}
.footer-content{
position: fixed;
bottom: 0;
width: 100%;
z-index: 0;
}
.content{
z-index: 9999 !important;
background-color: #fff;
position: relative;
margin-bottom: 600px; //height of my full footer
}
:よう
<div class="content"></div>
<div class="footer">
<div class="footer-content">
</div>
</div>
とCSS。助けてください、私の英語のために申し訳ありません。
アミール、そうです。また、あなたのコードが動作するはずです。 – Vcasso
Amirは固定背景画像をテキストにしました - 全体のフッタ固定効果(コンテンツ付き)が必要です。 – Roberto
それは非常に近いです、ここでは謎です:https://jsfiddle.net/jrgaoztp/ – deebs