Grid 2 columns test
How do I make an grid 2 columns test?
What is a grid 2 columns test? How do you make a grid 2 columns test? This script and codes were developed by Kévin Joffard on 12 December 2022, Monday.
Grid 2 columns test - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Grid 2 columns test</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="grid__wrapper"> <div class="grid__item grid__image--1"> <div class="grid__image"></div> </div> <div class="grid__item"> <div class="grid__text grid__text--1"> <H2>TEXT</H2> </div> </div> <div class="grid__item"> <div class="grid__text grid__text--2"> <H2>TEXT</H2> </div> </div> <div class="grid__item grid__image--2"> <div class="grid__image"></div> </div> <div class="grid__item grid__image--3"> <div class="grid__image"></div> </div> <div class="grid__text grid__text--3"> <H2>TEXT</H2> </div> </div>
</div>
</body>
</html>
Grid 2 columns test - Script Codes CSS Codes
* { padding: 0; margin: 0;
}
.grid__wrapper { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); max-width: 100%; margin: auto;
}
.grid__item { height: 20rem; width: 100%;
}
.grid__item img { width: 100%;
}
.grid__image--1 { background-image: url(https://unsplash.it/1500?image=800);
}
.grid__image--2 { background-image: url(https://unsplash.it/1500?image=800);
}
.grid__image--3 { background-image: url(https://unsplash.it/1500?image=800);
}
.grid__image--1,
.grid__image--2,
.grid__image--3{ background-size: cover; background-color: #071D49; background-blend-mode: multiply;
}
.grid__text { min-height: 100%; height: 18rem; padding: 1rem;
}
/*
---- MEDIA
*/
Developer | Kévin Joffard |
Username | kejoff |
Uploaded | December 12, 2022 |
Rating | 3 |
Size | 1,710 Kb |
Views | 12,144 |
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!
Name | Size |
Product Page | 6,544 Kb |
Footer Grid | 2,023 Kb |
Vertical Accordeon Menu | 2,226 Kb |
Animation iFrame Google maps - Vanilla Javascript | 2,322 Kb |
Landing Page 3 columns oblique | 3,251 Kb |
Aframe - Hello Metaverse Testing | 2,235 Kb |
Experimentation - Gmaps Colors | 2,757 Kb |
Footer new generation | 3,069 Kb |
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!
Name | Username | Size |
Isometric css island | Xaddict | 2,950 Kb |
Marching Squares Visualized | Sakri | 7,074 Kb |
Draggables in pure angular | Rlo206 | 5,167 Kb |
Haml Calendar | Katydecorah | 5,643 Kb |
CMP5-Opdracht15 | SannevanGastel | 2,733 Kb |
Experiment - SCSS SVG Background Image with Variables | See8ch | 3,270 Kb |
Click Based Rotation Demo | Zeaklous | 2,086 Kb |
Filtre ile Arama Kutusu - Search Box with Filter | AyhanALTINOK | 3,448 Kb |
Clock with full screen background | Owebboy | 2,415 Kb |
Ripples in water | Nobitagit | 2,704 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!