Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprende Challenge: Master Sticky Positioning | Mastering CSS Positioning
Advanced CSS Techniques

bookChallenge: 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:

  1. Apply sticky positioning to the element with the class name illustration.
  2. Specify the position on the page where the element should become sticky.
index.html

index.html

index.css

index.css

copy
  1. To make the animal illustrations stick to the top of the viewport while the user reads the article, apply the sticky positioning to the element with the class name illustration.
  2. Set the top property to 0 to specify that the element should stick at the top of the viewport.
index.html

index.html

index.css

index.css

copy

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 2. Capítulo 9

Pregunte a AI

expand

Pregunte a AI

ChatGPT

Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla

Awesome!

Completion rate improved to 2.04

bookChallenge: Master Sticky Positioning

Desliza para mostrar el menú

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:

  1. Apply sticky positioning to the element with the class name illustration.
  2. Specify the position on the page where the element should become sticky.
index.html

index.html

index.css

index.css

copy
  1. To make the animal illustrations stick to the top of the viewport while the user reads the article, apply the sticky positioning to the element with the class name illustration.
  2. Set the top property to 0 to specify that the element should stick at the top of the viewport.
index.html

index.html

index.css

index.css

copy

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 2. Capítulo 9
some-alt