Transitions - Part 1
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 - 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. ****/
}
Developer | Fezzik |
Username | Fezzik |
Uploaded | November 25, 2022 |
Rating | 3 |
Size | 1,804 Kb |
Views | 12,144 |
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 |
Box Shadows | 1,604 Kb |
Device-Specific Media Queries - Part 1 | 5,915 Kb |
Full-page Animation Project - Page 2 | 2,391 Kb |
Advanced Backgrounds | 2,143 Kb |
3D Transforms - Part 2 | 2,529 Kb |
Web Fonts | 3,861 Kb |
Multi-Column Layout | 2,459 Kb |
Background Properties | 2,672 Kb |
UI Element States Pseudo-Classes | 2,079 Kb |
Full-page Animation Project - Part 3 | 2,111 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 |
Responsive Minimal Blog Layout | Hackthevoid | 5,261 Kb |
Portfolio Landing Page | FDfranklin | 3,585 Kb |
React TODO | Enieste | 3,320 Kb |
GrcJS | Vino6 | 2,047 Kb |
Alter bg opacity on hover... | Chrisboon27 | 2,054 Kb |
Starfield old school style | Bolloxim | 5,214 Kb |
CSS Tooltips | Darylldoyle | 2,599 Kb |
Ipad Mini Showcase | Hornebom | 10,479 Kb |
Shopping cart | Andiio | 6,581 Kb |
Barber Shop | Bhlaird | 6,270 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!