scrimba
Note at 0:54
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 0:54
AboutCommentsNotes
Note at 0:54
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;
height: 100vh;
font-family: 'Orbitron', sans-serif;
text-shadow: 1px 1px 1px var(--bright-red);
text-align: center;
color: white;
background-color: var(--snow);
background-image: url("https://cdn.pixabay.com/photo/2017/11/07/20/43/christmas-tree-2928142_960_720.jpg");
background-position: center;
background-size: cover;
background-repeat: no-repeat;
}

.container {
width: 400px;
height: 200px;
display: flex;
flex-direction: column;
align-items: center;
background: var(--gold);
padding: 2em;
border-radius: 5px;
box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
background-color: rgba(0, 0, 0, 0.8);
color: white;
}

.affirmation {
font-size: 1.5rem;
margin: 0;
}

.timer {
font-size: 100px;
margin: 0.5em;
}

button {
border: none;
background-color: white;
color: black;
padding: 0.5em 1em;
margin: 25px;
border-radius: 5px;
font-size: 1.5rem
}

button:hover {
cursor: pointer;
transform: scale(1.03)
}

#user-input {
border: 3px dotted white;
background-color: rgba(0, 0, 0, 0.8);
padding: 5px;
display: flex;
justify-content: space-between;
align-items: center;
}
Console
/index.html
LIVE