scrimba
Note at 0:26
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:26
AboutCommentsNotes
Note at 0:26
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;
text-align: center;
font-family: 'Cookie', cursive;
color: var(--snow);
background-color: var(--dark-green);
background-color: var(--gold);
background-color: powderblue;
background-image: url("https://cdn.pixabay.com/photo/2020/04/01/19/36/showcase-4992402_960_720.jpg");
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
background-blend-mode: overlay;
}

h1 {
font-size: 3em;
}

.ctn {
border: 3px dotted whitesmoke;
background-color: rgba(0, 0, 0, 0.8)
}

img {
height: 300px;
width: 340px;
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;
}

button {
margin: 1.5em;
padding: .5em 2em;
border: none;
font-size: 1.3rem;
font-family: 'Cookie', cursive;
text-shadow: 1px 0px 1px blueviolet, -3px -1px 2px white;
background-color: var(--gold);
font-weight: bold;
color: black;
border-radius: 999px;
box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
}

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


img {
border: 2px dotted blueviolet;
border-radius: 10px;
width: 150px;
height: 150px;
margin: 5px;
padding: 15px;
background-color: whitesmoke;
}

Console
/index.html
LIVE