Lesson

freeCodeCamp's Move a Relatively Positioned Element with CSS Offsets, Applied Visual Design

Lesson Summary

In this freeCodeCamp lesson we look at how we can move a relatively positioned Element with CSS Offset. This is a similar lesson to our last lesson, since we are still using the "position" property with a relative value. We are taught that the CSS Offsets, top, right, bottom, and left will tell our browser how much of an offset our element should have relative to where it usually is in the normal flow. If we use the bottom offset it will move our element upwards. If we use the left offset it will move our element to the right.

Subscribe To Monthly Newsletter. Chance to Win Monthly Prizes

* indicates required


Share: