Challenge: Master Sticky Positioning
メニューを表示するにはスワイプしてください
Task
Create a blog layout for animal articles, ensuring that the corresponding animal photo is always visible while the user reads the article. When the user starts reading about another animal, offer the next animal photo. Steps:
- Apply
stickypositioning to the element with the class nameillustration. - Specify the position on the page where the element should become sticky.
index.html
index.css
- To make the animal illustrations stick to the top of the viewport while the user reads the article, apply the
stickypositioning to the element with the class nameillustration. - Set the
topproperty to0to specify that the element should stick at the top of the viewport.
index.html
index.css
すべて明確でしたか?
フィードバックありがとうございます!
セクション 2. 章 9
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください
セクション 2. 章 9