Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
静的に開始し、ページ内の特定のポイントに到達するとスクロールを開始するメニューを作成するにはどうすればよいでしょうか?
例:
http://techcrunch.com/
http://www.beyonceonline.com
メニューを head タグの固定 div にして、コンテンツを 100%x100% の動的な div にし、上部の余白を 50 ピクセルにします (メニューの高さは 50 ピクセル以下にする必要がありますが、それは私の意見です)。メニュー z インデックス = 1; コンテンツ z-index= -1; あなたのCSSで。