Image with Slide Up Caption
How do I make an image with slide up caption?
Image with slide up caption when it is hover.. What is a image with slide up caption? How do you make a image with slide up caption? This script and codes were developed by Kw7oe on 26 November 2022, Saturday.
Image with Slide Up Caption - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Image with Slide Up Caption</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class = "container"> <figure> <img src = "https://hd.unsplash.com/photo-1457955233005-c6f38eeb2a63"> <figcaption> <h1>Unknown</h1> </figcaption> </figure>
</div>
<div class = "bottom"> <p>Image Source: <a href = "https://unsplash.com"><em>Unsplash</em></a></p>
</div>
</body>
</html>
Image with Slide Up Caption - Script Codes CSS Codes
@import url("https://fonts.googleapis.com/css?family=Hammersmith+One|Source+Sans+Pro");
html { height: 100%;
}
body { background: linear-gradient(to top, #e6e6f6, #ffffff);
}
.container { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 12px; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5); overflow: hidden;
}
.container figure { width: 350px; height: 350px; margin: 0;
}
.container figure img { width: 100%; height: 100%; transition: 0.6s height ease-in;
}
.container figure img:hover { height: 80%;
}
.container figure img:hover ~ figcaption { opacity: 1; transform: translateY(-100%);
}
.container figure figcaption { background: white; position: absolute; width: 100%; height: 20%; bottom: -20%; transition: 0.6s ease-in; opacity: 0; text-align: center;
}
.container figure figcaption h1 { margin: 15px 0 10px 0; font-family: "Hammersmith One";
}
.bottom { position: absolute; bottom: 10%; left: 50%; transform: translate(-50%, -10%);
}
.bottom p { font-family: "Source Sans Pro"; font-size: 12px;
}
Developer | Kw7oe |
Username | kw7oe |
Uploaded | November 26, 2022 |
Rating | 3 |
Size | 2,578 Kb |
Views | 28,336 |
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 |
Navigation Bars | 3,174 Kb |
Music Player | 2,189 Kb |
Image Hover Effects with CSS3 transform | 2,915 Kb |
Heat Map with D3.js | 3,507 Kb |
Image Slider | 2,131 Kb |
Tic Tac Toe | 3,793 Kb |
Weather App | 3,162 Kb |
Random Icon | 1,685 Kb |
Image Card | 2,123 Kb |
Portfolio | 4,144 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 |
Social buttons | Flacu | 2,022 Kb |
Two tables and header with jspdf-autotable | Someatoms | 2,245 Kb |
Improved Page Flipping Effect | Usaphp | 5,201 Kb |
A Pen by tugce | Ecgutcnkr | 4,197 Kb |
Random Gradients - JS | Aldlevine | 2,026 Kb |
Algorithm practice | Abensur | 5,620 Kb |
Hexagons | Ashmind | 4,360 Kb |
APortfolio | Skybutterfly | 5,174 Kb |
Heartbeat | Apetrov | 2,079 Kb |
Shopping List | Markmurray | 6,015 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!