Untitled

mail@pastecode.io avatar
unknown
css
2 years ago
628 B
5
Indexable
Never
html, body {
  height: 100%;
}

body {
  font-size: 30px;
  color: #fff;
}

.main {
 display: flex;
 height: 100%;
}

.blocks {
  height: 100%;
  width: 65%;
  display: flex;
  flex-wrap: wrap;
  flex-gap: 10px;
}

.blocks .block {
  width: 50%;
  height: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.block1 {
  background-color: green;
}

.block2 {
  background-color: red;
}

.block3 {
  background-color: orange;
}

.block4 {
  background-color: blue;
}

.photo {
   background-color: #000;
   height: 100%;
   width: 35%;
   display: flex;
   justify-content: center;
   align-items: center;
}