Transition Demo
How do I make an transition demo?
What is a transition demo? How do you make a transition demo? This script and codes were developed by Alex Rodrigues on 13 August 2022, Saturday.
Transition Demo - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Transition Demo</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="wrapper">
<div class="item"> <img src="https://unsplash.it/700/400?image=1057" alt="" class="item__img" /> <div class="item__content"> <h2 class="item__title">Title 1</h2> <p class="item__desc">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Rerum, alias nihil fugiat debitis ut aliquid porro distinctio earum, temporibus quia necessitatibus. Beatae itaque, esse maxime atque molestias dolores commodi quaerat!</p> </div>
</div>
</div>
</body>
</html>
Transition Demo - Script Codes CSS Codes
@import url(http://fonts.googleapis.com/css?family=Droid+Serif:400,400italic|Montserrat:400,700);
html { box-sizing: border-box;
}
*,
*:after,
*:before { box-sizing: inherit;
}
.wrapper { background: #89b1da; clear: both; padding: 20px; font-family: "Droid Serif", serif; display: flex;
}
.item { position: relative; width: 500px; margin: 30px auto; border: 10px solid white; overflow: hidden; transform: translate3D(0, 0, 0);
}
.item__img { display: block; width: 100%;
}
.item__content { position: absolute; left: 0; bottom: -100%; width: 100%; height: 80%; background: rgba(0, 0, 0, 0.5); color: white; padding: 20px; line-height: 1.5; transition: all 0.5s 1s;
}
.item:hover .item__content { transition-delay: 0s; bottom: 0;
}
.item__title { position: relative; font-size: 1.5rem; margin: 10px 0; font-weight: bold; top: 1.5em; opacity: 0; transition: all 0.5s 0.5s;
}
.item:hover .item__title { top: 0; opacity: 1; transition-delay: 0.5s;
}
.item__desc { position: relative; top: 1.5em; opacity: 0; transition: all 0.5s 0.25s;
}
.item:hover .item__desc { transition-delay: 0.75s; top: 0; opacity: 1;
}
Developer | Alex Rodrigues |
Username | alex_rodrigues |
Uploaded | August 13, 2022 |
Rating | 3 |
Size | 2,823 Kb |
Views | 20,240 |
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 |
Toying With Flexslider | 5,052 Kb |
Mobile Menu Concept WIP | 4,592 Kb |
Playing with Grid | 2,224 Kb |
Responsive Checkout Concept WIP | 6,323 Kb |
Front End Age Gate | 5,806 Kb |
Animate delay Sass Mixin | 3,050 Kb |
Animated Bar Graphs | 3,919 Kb |
Jquery Scroll test | 3,879 Kb |
SA_testing | 2,188 Kb |
WIP - Checkout Flow Steps Progress mobile concept | 3,960 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 |
Hexagons | Ashmind | 4,360 Kb |
Codero Sitemap | S1m0ne | 28,169 Kb |
Material design buttons | Fischaela | 4,381 Kb |
A Pen by Stan Williams | Stanssongs | 6,706 Kb |
Starting out with Ember.JS | Cfleschhut | 4,808 Kb |
Prism | Pyrografix | 2,843 Kb |
Example SVGZ Data URI | Joeyhoer | 2,981 Kb |
V.35 The Monolith Update - Hero Release Notes | Jordan | 12,045 Kb |
Slide In Panel | Vikvarg | 2,811 Kb |
Responsive Minimal Blog Layout | Hackthevoid | 5,261 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!