Transitions - Part 1

Developer
Size
1,804 Kb
Views
12,144

How do I make an transitions - part 1?

Transition-property:transition-duration:. What is a transitions - part 1? How do you make a transitions - part 1? This script and codes were developed by Fezzik on 25 November 2022, Friday.

Transitions - Part 1 Previews

Transitions - Part 1 - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Transitions - Part 1</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <!DOCTYPE html>
<html>
<head>	<title>CSS Transitions</title>	<link rel="stylesheet" href="style.css">
</head>
<body> <h1>Transitions - Part 1</h1>	<div class="box"></div>
</body>
</html>
</body>
</html>

Transitions - Part 1 - Script Codes CSS Codes

body {	padding-top: 50px;	background: #F5F5F5;	font-family: sans-serif;
}
.box {	margin: auto;	width: 300px;	height: 300px;	border-radius: 15px;	background: steelblue;	cursor: pointer; -webkit-duration: .3s; -moz-duration: .3s; -o-duration: .3s; transition-duration: .3s; }
.box:hover { background: lightcoral; border-radius: 50%; /* Each transition separately timed: transition-property: background, border-radius; transition-duration: .5s, 1s; ****/ /* All transitions timed at once: (NOTE: Transition-property's value defaults to 'all' -- which is what we want -- so it can be omitted.) transition-duration: .3s; ****/ /* If the transition duration is to be timed that same as its return to regular state, do not include a transition-duration under .box:hover. This allows the transition-duration property under .box to also be used in .box:hover. ****/
}
Transitions - Part 1 - Script Codes
Transitions - Part 1 - Script Codes
Home Page Home
Developer Fezzik
Username Fezzik
Uploaded November 25, 2022
Rating 3
Size 1,804 Kb
Views 12,144
Do you need developer help for Transitions - Part 1?

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 art & images 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!