Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed Issue - #346 #2811

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
98 changes: 98 additions & 0 deletions modules/grids/grid_346_by_SathwikaAdimulam.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Grid_346</title>
<style>
body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
background-color: #DCDCDC;
text-align: center;
margin: 0;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

.container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
margin: 0 5%;
}

.block {
padding: 15px;
background-color: white;
border-radius: 10px;
border-top: 10px solid orange;
display: flex;
flex-direction: column;
justify-content: space-between;
height: 100%;
}

h1 {
margin-top: 30px;
font-weight: bolder;
font-size: 3rem;
}

.block h2 {
margin-top: 0;
}

.bottom-element {
margin-top: auto;
}

@media (max-width: 600px) {
.container {
grid-template-columns: 1fr;
}
}

@media (min-width: 900px) {
.container {
grid-template-columns: repeat(4, 1fr);
}
}
</style>
</head>
<body>
<h1>Benefits of Sport Training</h1>
<div class="container">
<div class="block">
<h2>Agility</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam id elit nunc. Nullam porta nisi erat, et eleifend elit maximus eu. Mauris rutrum feugiat risus sed aliquam. Fusce eu nisl pulvinar, blandit elit vel, blandit augue. Sed lectus nisi, dapibus sed vestibulum ut, convallis at magna. Donec ut odio libero.</p>
<div class="bottom-element">
<h4>More</h4>
</div>
</div>
<div class="block">
<h2>Strength</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum auctor mi eu nisl commodo porttitor. Pellentesque pretium dolor non pretium sollicitudin. Aliquam ac eros arcu. Duis malesuada elit placerat, mollis justo non, auctor neque. Phasellus sapien ipsum, tristique vel massa sed, aliquet cursus turpis. Nam luctus libero sit amet nulla.</p>
<div class="bottom-element">
<h4>More</h4>
</div>
</div>
<div class="block">
<h2>Quickness</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur pharetra, elit ac blandit fermentum, augue nisl mollis risus, ut rhoncus sapien sapien vel elit. Aenean ante turpis, volutpat nec varius nec, egestas nec elit. Nunc blandit, nisi sit amet placerat tincidunt, elit lectus porta odio, ut elementum nunc massa id.</p>
<div class="bottom-element">
<h4>More</h4>
</div>
</div>
<div class="block">
<h2>Power</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean urna nibh, tristique vitae tortor a, tristique porta dui. Sed dapibus sit amet diam quis vehicula. Integer ligula lacus, scelerisque id diam gravida, maximus eleifend ante. Nullam vulputate ultrices congue. Sed ornare consectetur nulla commodo gravida. Duis tristique erat sit amet.</p>
<div class="bottom-element">
<h4>More</h4>
</div>
</div>
</div>
</body>
</html>