Flex2x2

Size
1,883 Kb
Views
24,288

How do I make an flex2x2?

What is a flex2x2? How do you make a flex2x2? This script and codes were developed by Xavier Martínez on 31 October 2022, Monday.

Flex2x2 Previews

Flex2x2 - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Flex2x2</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="grid2x2"> <div class="box block1">one</div> <div class="box block2">two</div> <div class="box block3">three</div> <div class="box block4">four</div>
</div>
</body>
</html>

Flex2x2 - Script Codes CSS Codes

body { margin: 0;
}
.grid2x2 { display: flex; flex-flow: row wrap;
}
.box { display: flex; flex-basis: calc(50%); justify-content: center; flex-direction: column; min-height: 200px; text-align: center;
}
.box:nth-child(1) { background-color: blue;
}
.box:nth-child(2) { background-color: yellow;
}
.box:nth-child(3) { background-color: green;
}
.box:nth-child(4) { background-color: red;
}
Flex2x2 - Script Codes
Flex2x2 - Script Codes
Home Page Home
Developer Xavier Martínez
Username xmjol
Uploaded October 31, 2022
Rating 3
Size 1,883 Kb
Views 24,288
Do you need developer help for Flex2x2?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Xavier Martínez (xmjol) Script Codes
Create amazing blog posts with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!