scrimba
Note at 1:08
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

Note at 1:08
AboutCommentsNotes
Note at 1:08
Expand for more info
index.css
run
preview
console
:root {
--wine-red: #C7375F;
--bright-red: #D42D2F;
--dark-green: #344D2F;
--light-green: #77A047;
--gold: #FAC57D;
--snow: #F0F4F7;
}

html, body {
margin: 0;
padding: 0;
}

body {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: var(--light-green);
height: 100vh;
background-image: url("https://cdn.pixabay.com/photo/2019/09/15/12/12/paper-4478147_960_720.jpg");
background-position: center;
background-repeat: no-repeat;
background-size: cover;
font-family: 'Dancing Script', cursive;
text-shadow: 1px 1px 1px darkred;
}

.sign,
.text-input {
color: burlywood;
background-color: whitesmoke;
border-radius: 10px;
box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
text-shadow: 1px 1px 1px darkred;
}

.sign {
display: flex;
justify-content: space-around;
border: 3px dotted darkred;
padding: 1em;
min-width: 450px;
font-size: 45px;
}

label {
font-size: 3rem;
color: whitesmoke;
background-color: rgba(0, 0, 0, 0.3);
padding: 1px 15px;
border-radius: 10px;
width: 320px;
}

.text-input {
border: none;
padding: 0.5em 1em;
font-size: 1.5rem;
width: 300px;
}

.text-input:focus {
outline-color: burlywood;
}

#btn-message {
margin: 25px;
border-radius: 10px;
height: 125px;
width: 150px;
font-family: 'Dancing Script', cursive;
font-size: 1.5rem;
}

#btn-message:hover,
#btn-message:focus {
cursor: pointer;
outline-color: burlywood;
}
Console
/index.html
LIVE