Lesson 4 of 5
CSS Margins
1 min read1 sectionAI tutor ready
Margins
CSS margins are used to create space around elements, outside of any defined borders.
p {
margin: 25px 50px 75px 100px;
}You've reached the end of this lesson.
Mark it complete to keep your place in the course — it counts toward your progress and your streak.