Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge: Relative Positioning | Item Positioning
Advanced CSS Techniques
course content

Contenido del Curso

Advanced CSS Techniques

Advanced CSS Techniques

1. Introduction
2. Item Positioning
3. Transitions
4. Animations
5. Transformations
6. Adaptive/responsive websites and apps
7. Preprocessors

bookChallenge: Relative Positioning

Note

Each challenge in this course includes a code sample consisting of index.html and index.css files. As the course focuses on learning CSS, it is recommended to address the challenges in the index.css file. Once a challenge is completed, click the "Run Code" button to view the live page and ensure the challenge was solved correctly.

Moreover, each challenge provides "Hint" and "Solution" buttons. Clicking the "Hint" button will display hints relevant to the current task, while the "Solution" button will reveal the code sample with the correct application of CSS.

Task

  1. Add relative positioning to the second element with the item class name.
  2. Move the item 30px down and 50px left.
html

index

css

index

js

index

copy
  1. Move down by setting a positive value for the top property.
  2. Move left by setting a negative value for the left property.
html

index

css

index

js

index

copy

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 2. Capítulo 3
We're sorry to hear that something went wrong. What happened?
some-alt