scrimba
Frontend Career Path
Web dev basics
Build a digital Business Card
Aside: margin/padding shorthand
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

To see this lesson you need to be logged in. Joining Scrimba is free and gives you access to 20+ courses.Sign up
Aside: margin/padding shorthand
AboutCommentsNotes
Aside: margin/padding shorthand
Expand for more info
styles.css
run
preview
console
.red-circle {
height: 150px;
width: 150px;
border-radius: 100%;
background: #BC002D;

/*
Challenge:
Translate this into using the margin shorthand.
*/
margin-top: 40px;
margin-right: 0;
margin-bottom: 0;
margin-left: 100px;

}
Console
/index.html
-3:59