Transitions - Part 2
How do I make an transitions - part 2?
Transition-timing-function:. What is a transitions - part 2? How do you make a transitions - part 2? This script and codes were developed by Fezzik on 25 November 2022, Friday.
Transitions - Part 2 - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Transitions - Part 2</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <!DOCTYPE html>
<html>
<head> <title>CSS Transitions</title> <link rel="stylesheet" type="text/css" href="style.css">
</head>
<body> <div class="wrap"> <h1>Transitions - Part 2</h1> <div class="box"></div> </div>
</body>
</html>
</body>
</html>
Transitions - Part 2 - Script Codes CSS Codes
body { padding-top: 50px; background: #F5F5F5; font-family: sans-serif;
}
.wrap { margin: 0 auto; padding: 15px; width: 850px; height: 300px; box-shadow: 0 0 20px rgba(0,0,0,.5); cursor: pointer;
}
.box { width: 25%; height: 200px; border-radius: 8px; background: #4682B4; /* transition-timing-function: cubic-bezier(p1x, p1y, p2x, p2y); // Note that the x values must range from 0 to 1. */ /* 1. We started with this cubic-bezier setting & duration ... transition-duration: 1s; transition-timing-function: cubic-bezier(.5, 0, .3, 1); ** 2. Now it will "bounce" out horzontally from the box ... transition-timing-function: cubic-bezier(.5, -.5, .3, 1.5); ** 3. Then we complete the transition effects ... transition-property: margin, background; transition-duration: 1s, .6s; transition-timing-function: cubic-bezier(.5, -.5, .3, 1.3), ease; transition-delay: 0s, 1s; ** 4. We can abbreviate the effects into one line. Order is important; notice where duration and delay are ... transition: margin 1s cubic-bezier(.5, -.5, .3, 1.3) 0s, background .6 ease 1s; ** 5. Last, we include prefixes for other browsers ... */ -webkit-transition: margin 1s cubic-bezier(.5, -.5, .3, 1.3) 0s, background .6s ease 1s; -moz-transition: margin 1s cubic-bezier(.5, -.5, .3, 1.3) 0s, background .6s ease 1s; -o-transition: margin 1s cubic-bezier(.5, -.5, .3, 1.3) 0s, background .6s ease 1s; transition: margin 1s cubic-bezier(.5, -.5, .3, 1.3) 0s, background .6s ease 1s; }
.wrap:hover .box { background: #F08080; margin-left: 75%; }
Developer | Fezzik |
Username | Fezzik |
Uploaded | November 25, 2022 |
Rating | 3 |
Size | 2,009 Kb |
Views | 16,192 |
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 |
Floats and Micro Clearfix Hack | 2,159 Kb |
Transitions - Part 1 | 1,804 Kb |
3D Transforms - Part 2 | 2,529 Kb |
Box Shadows | 1,604 Kb |
Flexbox - Part 1 | 1,912 Kb |
Full-page Animation Project - Page 2 | 2,391 Kb |
Multi-Column Layout | 2,459 Kb |
Advanced Backgrounds | 2,143 Kb |
Device-Specific Media Queries - Part 1 | 5,915 Kb |
Flexbox - Part 2 | 2,363 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 |
CSS Variables | Jdsteinbach | 4,759 Kb |
Tic Tac Toe | Volv | 4,862 Kb |
Flexbox slider | Rendro | 3,459 Kb |
Portfolio Landing Page | FDfranklin | 3,585 Kb |
Formations | Cantelope | 5,731 Kb |
Learning FlexBox | Alex_rodrigues | 2,821 Kb |
Buttons for autumn | Nikazawila | 1,795 Kb |
Drifting Clouds | Benedikte | 2,247 Kb |
Cloud upload | Jaflo | 2,774 Kb |
Getting Started | Viblast | 1,500 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!