What you will use in this project
- Padding
- Margin
- Width
- Borders and border-radius
In style.css:
body { rule, set margin: 0.#hero { rule, add padding: 56px 48px 120px and margin: 16px.body {. Write these lines inside it, before its }:margin: 0;#hero {. Write these lines inside it, before its }:padding: 56px 48px 120px;
margin: 16px;In style.css:
.section { rule, add padding: 40px and margin: 16px..section {. Write these lines inside it, before its }:padding: 40px;
margin: 16px;In style.css:
.card { rule, add width: 250px, padding: 12px, margin-bottom: 16px and border: 1px solid #E2E8F0.} of the .card rule, write a new rule for .card img with width: 100%..card {. Write these lines inside it, before its }:width: 250px;
padding: 12px;
margin-bottom: 16px;
border: 1px solid #E2E8F0;} that ends the .card rule. After that }, write this new rule:.card img {
width: 100%;
}In style.css:
border-radius: 28px to the #hero { and .section { rules, border-radius: 20px to .card { and border-radius: 14px to .card img {.blockquote with border-left: 4px solid #2563EB, padding-left: 24px and margin: 0.#hero {. Write these lines inside it, before its }:border-radius: 28px;.section {. Write these lines inside it, before its }:border-radius: 28px;.card {. Write these lines inside it, before its }:border-radius: 20px;.card img {. Write these lines inside it, before its }:border-radius: 14px;blockquote {
border-left: 4px solid #2563EB;
padding-left: 24px;
margin: 0;
}