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;
}
![Transition Demo - Script Codes](http://shots.codepen.io/alex_rodrigues/pen/bwpAgQ-512.jpg)
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 |
Learning FlexBox | 2,821 Kb |
Responsive Table-less Shopping Cart | 6,637 Kb |
SA_testing | 2,188 Kb |
Animated Bar Graphs | 3,919 Kb |
Mobile Menu Concept WIP | 4,592 Kb |
Playing with Grid | 2,224 Kb |
Toying With Flexslider | 5,052 Kb |
Jquery Scroll test | 3,879 Kb |
A Pen by alex rodrigues | 3,920 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 |
E-mail Template | SoloMDFK | 4,871 Kb |
Bootstrap 4 Gridsystem Demo | Rivella50 | 1,535 Kb |
ECharts Version 3.0 - Bar Marker Chart | WebCodePro | 2,726 Kb |
Falling Down the Rabbit Hole | Rachelnabors | 4,578 Kb |
About Us | Francescaedits | 1,902 Kb |
NAV WPMANAGER | Mstoic | 1,991 Kb |
Blackberry Mock | Zacharyolson | 1,865 Kb |
CSS Org Chart | Appirio-ux | 3,882 Kb |
Wikipedia Viewer | Odylic | 2,333 Kb |
Loading animation - freedom purchase | Rocbear | 2,567 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!