Red Grid // CSS Grid
How do I make an red grid // css grid?
What is a red grid // css grid? How do you make a red grid // css grid? This script and codes were developed by Brian Haferkamp on 10 October 2022, Monday.
Red Grid // CSS Grid - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Red Grid // CSS Grid</title> <meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Ubuntu:300,400" rel="stylesheet"> <link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body>
<!-- This is inspired by the grid design at:-->
<!-- http://www.awwwards.com/30-grid-based-websites.html-->
<!-- (The design is about half way down the page)-->
<div class="grid__wrapper"> <div class="grid__item grid__image--1"> <div class="grid__image"></div> </div> <div class="grid__item grid__image--2"> <div class="grid__text grid__text--2"> <p><i class="fa fa-css3" aria-hidden="true"></i></p> </div> </div> <div class="grid__item"> <div class="grid__text grid__text--3"> <ul><a href=""> <li> <h2>What is this?</h2> </li></a><a href=""> <li> <h2>Buy</h2> </li></a><a href=""> <li> <h2>Sell</h2> </li></a><a href=""> <li> <h2>The Team</h2> </li></a><a href=""> <li> <h2>Contact Us</h2> </li></a><a href=""> <li> <h2>Blog</h2> </li></a></ul> </div> </div> <div class="grid__item grid__image--4"> <div class="grid__text grid__text--4"> <p><i class="fa fa-youtube-play" aria-hidden="true"></i></p> </div> </div> <div class="grid__item grid__image--5"> <div class="grid__text grid__text--5"> <h2>Lorem ipsum dolor sit amet, consectetur adipisicing elit</h2> </div> </div> <div class="grid__item grid__image--6"> <div class="grid__text grid__text--6"> <p>Buy<br>Now</p> </div> </div> <div class="grid__item grid__image--7"> <div class="grid__text grid__text--7"> <h2>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Id est quidem sit cumque laudantium, explicabo.</h2> </div> </div> <div class="grid__item grid__image--8"> <div class="grid__image"></div> </div> <div class="grid__item grid__image--9"> <div class="grid__text grid__text--9"> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Fuga, magnam.</p> <cite>Someone's Name</cite> </div> </div>
</div>
</body>
</html>
Red Grid // CSS Grid - Script Codes CSS Codes
body { background: red; color: white; font-family: "Ubuntu", sans-serif;
}
h2 { font-weight: 300;
}
ul { list-style: none; padding-left: 0;
}
ul li h2 { margin: 10px 0;
}
a { color: white; text-decoration: none;
}
.grid__wrapper { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); max-width: 1140px; margin: auto;
}
.grid__item { height: 300px; width: 100%;
}
.grid__item img { width: 100%;
}
.grid__image--1 { background-image: url(https://unsplash.it/1500?image=800); background-size: cover; background-color: red; background-blend-mode: multiply;
}
.grid__image--2 { background-image: url(https://unsplash.it/1500?image=802); background-size: cover; background-color: red; background-blend-mode: multiply;
}
.grid__text--2 { display: flex; justify-content: center; align-items: center; font-size: 10em; height: 100%;
}
.grid__text--3 { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-end; text-align: right; height: 100%;
}
.grid__image--4 { background-image: url(https://unsplash.it/1500?image=805); background-size: cover;
}
.grid__text--4 { display: flex; justify-content: center; align-items: center; font-size: 5em; color: red; height: 100%;
}
.grid__text--5 { font-size: 1.6em; padding: 1em; text-transform: uppercase; display: flex; justify-content: center; align-items: center;
}
.grid__image--6 { background-image: url(https://unsplash.it/1500?image=806); background-size: cover;
}
.grid__text--6 { display: flex; justify-content: center; align-items: center; font-size: 1.3em; height: 100%;
}
.grid__text--6 p { line-height: 1; text-align: center; background: red; padding: 20px 16px; border-radius: 50%; text-transform: uppercase;
}
.grid__text--7 { padding-right: 40%;
}
.grid__image--8 { background-image: url(https://unsplash.it/1500?image=807); background-size: cover; background-color: red; background-blend-mode: multiply;
}
.grid__text--9 { font-size: 2em; padding: 0 1em;
}
.grid__text--9 p { margin: 0; padding: 1em 0; font-weight: 300;
}
.grid__text--9 cite { font-size: 20px;
}
Developer | Brian Haferkamp |
Username | brianhaferkamp |
Uploaded | October 10, 2022 |
Rating | 3 |
Size | 3,803 Kb |
Views | 14,168 |
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 |
Creating a CSS Flexbox Grid | 2,022 Kb |
System Fonts Can Be Beautiful | 7,239 Kb |
Follow Your Heart | 4,964 Kb |
Gradient Transitions Between Sections | 3,329 Kb |
Emoji-Driven Survey | 5,710 Kb |
Travel Blog Design with Sticky Nav and Sidebar | 8,383 Kb |
RADIOLOGY | 2,751 Kb |
2-Up Magazine Layout | 8,250 Kb |
Brutal, Bro | 6,575 Kb |
Full-Width Hero with Image Using Flexbox | 2,459 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 |
Fun animations with CSS3 | Minimalmonkey | 2,360 Kb |
Midterm dry run | Jds317 | 1,649 Kb |
Scrolling Horizontal Isotope | Bramus | 2,017 Kb |
Prism | Pyrografix | 2,843 Kb |
Birthday Party Starter | Aussieyang | 1,629 Kb |
Basic template | Tomcat | 1,675 Kb |
A Pen by Kenny Mark | Kennymark | 5,574 Kb |
Add This API | ThatGuySam | 2,848 Kb |
Button fills | Zubfatal | 5,205 Kb |
Filter inputs | Rowinf | 1,721 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!