Css grid test

Developer
Size
1,683 Kb
Views
12,144

How do I make an css grid test?

What is a css grid test? How do you make a css grid test? This script and codes were developed by Khangeldy on 09 November 2022, Wednesday.

Css grid test Previews

Css grid test - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>css grid test</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="hg">	<div class="hg__header"></div>	<div class="hg__left"></div>	<div class="hg__main"></div>	<div class="hg__right"></div>	<div class="hg__footer"></div>
</div>
</body>
</html>

Css grid test - Script Codes CSS Codes

html, body {	margin: 0;
}
.hg__header { grid-area: header; background-color: red }
.hg__footer { grid-area: footer; background-color: green; }
.hg__main { grid-area: main;background-color: yellow; }
.hg__left { grid-area: navigation; background-color: orange;}
.hg__right { grid-area: ads; background-color: brown; }
.hg { display: grid; grid-template-areas: "header header header" "navigation main ads" "footer footer footer"; grid-template-columns: 150px calc(100vw - 300px) 150px; grid-template-rows: 100px calc(100vh - 130px) 30px; min-height: 100vh;
}
@media screen and (max-width: 600px) { .hg { grid-template-areas: "header" "navigation" "main" "ads" "footer"; grid-template-columns: 100%; grid-template-rows: 100px 50px calc(100vh - 230px) 50px 30px; }
}
Css grid test - Script Codes
Css grid test - Script Codes
Home Page Home
Developer Khangeldy
Username Khangeldy
Uploaded November 09, 2022
Rating 3
Size 1,683 Kb
Views 12,144
Do you need developer help for Css grid test?

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!

Khangeldy (Khangeldy) Script Codes
Create amazing art & images 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!