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
body {
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}

.flag {
/* border: 1px solid brown; */
height: 125px;
width: 125px;
background-color: #ff0000;
position: relative;
}

.cross {
/* border: 1px solid green; */
background-color: #ffffff;
position: absolute;
}

.cross.horizontal {
/* border: 2px solid gold; */
height: 23px;
width: 78px;
left: 23px;
top: 50px;
}

.cross.vertical {
/* border: 1px solid black; */
height: 78px;
width: 23px;
left: 50px;
top: 23px;
}
Console
/index.html
LIVE