Css grid test
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 - 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; }
}
Developer | Khangeldy |
Username | Khangeldy |
Uploaded | November 09, 2022 |
Rating | 3 |
Size | 1,683 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 |
Detect Facebook app in mobile devices | 1,819 Kb |
Game in canvas | 2,977 Kb |
Ryu Hadouken | 1,981 Kb |
Trello canvas | 2,539 Kb |
Canvas landing | 3,061 Kb |
Tutorial greensock sprite animation | 1,854 Kb |
Loader | 1,559 Kb |
Svg | 10,044 Kb |
Freecodecamp 1 | 0 Kb |
A Pen by Khangeldy | 2,352 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 |
CSS eye follow | Pedrocampos | 2,592 Kb |
Animated Logo | Shakdaniel | 2,672 Kb |
Nested table email layout | Massimo-cassandro | 2,355 Kb |
Flexbox Test | Icutpeople | 2,486 Kb |
Css3 slide | Nakome | 3,190 Kb |
Click Based Rotation Demo | Zeaklous | 2,086 Kb |
Canvas snow | Win7killer | 2,572 Kb |
SVG Circle Progress | JMChristensen | 3,368 Kb |
Content Changer | Cliffpyles | 4,538 Kb |
CSS Chat Bubbles | Boylett | 2,094 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!