Transitions - Part 2

Developer
Size
2,009 Kb
Views
16,192

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 Previews

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%; }
Transitions - Part 2 - Script Codes
Transitions - Part 2 - Script Codes
Home Page Home
Developer Fezzik
Username Fezzik
Uploaded November 25, 2022
Rating 3
Size 2,009 Kb
Views 16,192
Do you need developer help for Transitions - Part 2?

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!

Fezzik (Fezzik) Script Codes
Create amazing video scripts 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!