4-up Grid Block
How do I make an 4-up grid block?
A list of objects that eventually scales up to 4-columns. What is a 4-up grid block? How do you make a 4-up grid block? This script and codes were developed by Michael MartinSmucker on 28 September 2022, Wednesday.
4-up Grid Block - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>4-up Grid Block</title> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel='stylesheet prefetch' href='https://bradfrost.github.com/this-is-responsive/styles.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <!--Pattern HTML--> <section id="pattern" class="pattern"> <ul class="grid"> <li> <div> <a href="#">1</a> </div> </li> <li> <div> <a href="#">2</a> </div> </li> <li> <div> <a href="#">3</a> </div> </li> <li> <div> <a href="#">4</a> </div> </li> <li> <div> <a href="#">5</a> </div> </li> <li> <div> <a href="#">6</a> </div> </li> <li> <div> <a href="#">7</a> </div> </li> <li> <div> <a href="#">8</a> </div> </li> <li> <div> <a href="#">9</a> </div> </li> <li> <div> <a href="#">10</a> </div> </li> <li> <div> <a href="#">11</a> </div> </li> <li> <div> <a href="#">12</a> </div> </li> </ul> </section> <div class="container"> <section class="pattern-description"> <h1>4-up Grid Block</h1> <p>A list of objects that eventually scales up to 4-columns</p> </section> <footer role="contentinfo"> <div> <nav id="menu"> <a href="https://bradfrost.github.com/this-is-responsive/patterns.html">←More Responsive Patterns</a> </nav> </div> </footer> </div> <script src="js/index.js"></script>
</body>
</html>
4-up Grid Block - Script Codes CSS Codes
.grid { display: -webkit-flex; display: flex; -webkit-flex-flow: row wrap; flex-flow: row wrap; padding: 0.5em 0 0 0.5em; max-width: 76em; margin: 0 auto;
}
.grid li { -webkit-flex: 1 1 auto; flex: 1 1 auto; min-width: 16em; padding: 0 0.5em 0.5em 0;
}
.grid li > div { background: #808080; padding: 7em 2em; text-align: center;
}
.grid li a { color: #fff;
}
4-up Grid Block - Script Codes JS Codes
// a flexbox variation of bradfrost's pen:
// https://codepen.io/bradfrost/pen/LuAet
// obviously the practical value of this
// is pretty low, since no mobile browsers
// support the latest flexbox spec...
Developer | Michael MartinSmucker |
Username | mlms13 |
Uploaded | September 28, 2022 |
Rating | 3 |
Size | 2,213 Kb |
Views | 18,216 |
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 |
Sticker Tiles | 7,732 Kb |
CSS Floppy Disk Icon | 3,062 Kb |
Responsive nav collapses to a button | 3,329 Kb |
Toolbar Mockup | 4,967 Kb |
Chrome half-pixel bug | 2,351 Kb |
Simple Breadcrumbs | 3,411 Kb |
FancyArea Demo | 9,550 Kb |
Buttons for BEARS | 7,334 Kb |
Magic Color Picker | 3,768 Kb |
Panel Slider | 5,242 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 |
A Pen by Oliver Schafeld | Schafeld | 1,720 Kb |
Welcome | Nakome | 6,076 Kb |
JavaScript constructors | Simboonlong | 2,415 Kb |
Animating characters with jQuery | 042 | 2,776 Kb |
A Pen by Patrick Cox | Pcridesagain | 2,899 Kb |
Pure CSS Dial | Lukewatts | 3,018 Kb |
Flip test | Madhes | 1,635 Kb |
Bootstrap 4 Gridsystem Demo | Rivella50 | 1,535 Kb |
Drill-down Map | Good886 | 8,484 Kb |
Pure CSS Spinners | Jlong | 2,043 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!