Image grid with captions

Size
2,222 Kb
Views
8,096

How do I make an image grid with captions?

What is a image grid with captions? How do you make a image grid with captions? This script and codes were developed by Michael Chernin on 19 January 2023, Thursday.

Image grid with captions Previews

Image grid with captions - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Image grid with captions</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <!DOCTYPE html>
<html>
<head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Freebie: 12 Practical Templates For List Pages</title> <link rel="stylesheet" href="assets/css/image-lists/image-list-small.css">
</head>
<body> <ul class="image-list-small"> <li> <a href="#" style="background-image: url('assets/images/pictures/bahnhoff.jpg');"></a> <div class="details"> <h3><a href="#">In the subway</a></h3> <p class="image-author">Matt Stone</p> </div> </li> <li> <a href="#" style="background-image: url('assets/images/pictures/industrial-mech.jpg');"></a> <div class="details"> <h3><a href="#">Industrial</a></h3> <p class="image-author">Earnest Leming</p> </div> </li> <li> <a href="#" style="background-image: url('assets/images/pictures/colosseum.jpg');"></a> <div class="details"> <h3><a href="#">When in Rome..</a></h3> <p class="image-author">Edward Flint</p> </div> </li> <li> <a href="#" style="background-image: url('assets/images/pictures/sahale-wa.jpg');"></a> <div class="details"> <h3><a href="#">Mountain Top</a></h3> <p class="image-author">Rick Alpine</p> </div> </li> <li> <a href="#" style="background-image: url('assets/images/pictures/tonemapped.jpg');"></a> <div class="details"> <h3><a href="#">Vienna Adventure</a></h3> <p class="image-author">Stacy River</p> </div> </li> <li> <a href="#" style="background-image: url('assets/images/pictures/sands-of-life.jpg');"></a> <div class="details"> <h3><a href="#">Magnificent beach</a></h3> <p class="image-author">Frank Stone</p> </div> </li> </ul>
</body>
</html>
</body>
</html>

Image grid with captions - Script Codes CSS Codes

.image-list-small { font-family: Arial, Helvetica, sans-serif; margin: 0 auto; text-align: center; max-width: 640px; padding: 0;
}
.image-list-small li { display: inline-block; width: 181px; margin: 0 12px 30px;
}
/* Photo */
.image-list-small li > a { display: block; text-decoration: none; background-size: cover; background-repeat: no-repeat; height: 137px; margin: 0; padding: 0; border: 4px solid #ffffff; outline: 1px solid #d0d0d0; box-shadow: 0 2px 1px #DDD;
}
.image-list-small .details { margin-top: 13px;
}
/* Title */
.image-list-small .details h3 { display: block; font-size: 12px; margin: 0 0 3px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.image-list-small .details h3 a { color: #303030; text-decoration: none;
}
.image-list-small .details .image-author { display: block; color: #717171; font-size: 11px; font-weight: normal; margin: 0;
}
Image grid with captions - Script Codes
Image grid with captions - Script Codes
Home Page Home
Developer Michael Chernin
Username mchernin34
Uploaded January 19, 2023
Rating 3
Size 2,222 Kb
Views 8,096
Do you need developer help for Image grid with captions?

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!

Michael Chernin (mchernin34) Script Codes
Create amazing blog posts 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!