scrimba
HTML & CSS
Build a Birthday GIFt Site
Create the first gift
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

Create the first gift
AboutCommentsNotes
Create the first gift
Expand for more info
styles.css
run
preview
console
body {
text-align: center;
font-family: 'Happy Monkey', cursive;
background: #a2d2ff;
color: #ffffff;
}

h1, h2, h3, h4, p {
text-shadow: 0 0 1px black;
}

#bff-img {
width: 150px;
border-radius: 50%;
border: 6px solid #EFB0C9;
margin-bottom: 10px;
}

#bday-age {
background: #EFB0C9;
padding: 5px 10px;
border-radius: 5px;
margin: 5px 0 10px 0;
}

#bday-date {
margin: 0;
background: #EFB0C9;
padding: 5px 10px;
border-radius: 5px;
}

#header {
display: flex;
flex-direction: column;
align-items: center;
}

/*
Challenge:
1. Create a "gift-section" <div> that will wrap
all the elements for the first gift.
2. Add the <h2>, <h3>, and <img> elements, and
give all of them their own classes.
3. Style the elements according to the design.

PS: the image should be 400px wide.
*/

Console
/index.html
-5:17