Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Learn CSS margins in 4 minutes 📏
Play lesson

CSS tutorial for beginners 🎨 - Learn CSS margins in 4 minutes 📏

4.0 (2)
19 learners

What you'll learn

This course includes

  • 1 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

CSS margin tutorial example explained #CSS #margin #tutorial body{ margin: 0px; } #box1{ border: 5px solid; width: 250px; height: 250px; font-size: 22px; background: greenyellow; /* margin-top: 50px; margin-left: 50px; margin-bottom: 50px; margin-right: 50px; margin: 50px; */ margin-right: auto; margin-left: auto; } #box2{ border: 5px solid; width: 250px; height: 250px; font-size: 22px; background: dodgerblue; }

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere