Fun stuff with transforms, transitions and border radius
How do I make an fun stuff with transforms, transitions and border radius?
Had a little fun trying different stuff with transforms, transitions and border radiuses.. What is a fun stuff with transforms, transitions and border radius? How do you make a fun stuff with transforms, transitions and border radius? This script and codes were developed by Andreas Neeven on 18 September 2022, Sunday.
Fun stuff with transforms, transitions and border radius - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Fun stuff with transforms, transitions and border radius</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="container"> <div class="item item-1"><div class="corner corner-1"></div></div> <div class="item item-2"><div class="corner corner-2"></div></div> <div class="item item-3"><div class="corner corner-3"></div></div> <div class="item item-4"><div class="corner corner-4"></div></div>
</div> <script src="js/index.js"></script>
</body>
</html>
Fun stuff with transforms, transitions and border radius - Script Codes CSS Codes
body { display: -webkit-box; display: -ms-flexbox; display: flex; position: absolute; width: 100%; height: 100%; background-color: #ecf0f1; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center;
}
.container,
.item { -webkit-transition: all 1.5s ease; transition: all 1.5s ease;
}
.container { width: 200px; display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-flow: row wrap; flex-flow: row wrap; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; cursor: pointer;
}
.container:hover { -webkit-transform: translateX(40px); transform: translateX(40px);
}
.container:hover .item { box-shadow: 10px -10px 10px 0px #4d4d4d;
}
.container:hover .item-1 { -webkit-transform: rotate(45deg); transform: rotate(45deg);
}
.container:hover .item-2 { -webkit-transform: rotate(45deg) translateY(70px) translateX(50px); transform: rotate(45deg) translateY(70px) translateX(50px); border-top-right-radius: 50%;
}
.container:hover .item-3 { -webkit-transform: rotate(45deg) translateY(50px) translateX(-70px); transform: rotate(45deg) translateY(50px) translateX(-70px); border-bottom-left-radius: 50%;
}
.container:hover .item-4 { -webkit-transform: rotate(45deg) translateY(121px) translateX(-20px); transform: rotate(45deg) translateY(121px) translateX(-20px); border-bottom-right-radius: 50%;
}
.item { display: -webkit-box; display: -ms-flexbox; display: flex; min-width: 100px; min-height: 100px; font-size: 22px; background-color: #333333; color: white; box-shadow: 10px 10px 10px 0px #4d4d4d;
}
.item-1 { -webkit-box-pack: end; -ms-flex-pack: end; justify-content: flex-end; -webkit-box-align: end; -ms-flex-align: end; align-items: flex-end;
}
.item-2 { -webkit-box-pack: start; -ms-flex-pack: start; justify-content: flex-start; -webkit-box-align: end; -ms-flex-align: end; align-items: flex-end;
}
.item-3 { -webkit-box-pack: end; -ms-flex-pack: end; justify-content: flex-end; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start;
}
.corner { width: 50px; height: 50px; background-color: #3498db;
}
.corner-1 { border-radius: 0;
}
.corner-2 { border-radius: 0 50% 0 0;
}
.corner-3 { border-radius: 0 0 0 50%;
}
.corner-4 { border-radius: 0 0 50% 0;
}
Fun stuff with transforms, transitions and border radius - Script Codes JS Codes
/* Hover! Fun times with https://codepen.io/fpetruschke/ and a few beers!
*/
Developer | Andreas Neeven |
Username | aneeven |
Uploaded | September 18, 2022 |
Rating | 3 |
Size | 2,865 Kb |
Views | 36,432 |
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 |
Mail Element Concept | 3,609 Kb |
Digital Sucks | 2,769 Kb |
Custom Profile | 2,533 Kb |
Neon Hexagons SVG Image-Fill | 2,928 Kb |
Yet another card... | 3,819 Kb |
SVG Heart Animation | 2,753 Kb |
Flexbox align | 2,098 Kb |
Yay for blend-modes | 2,443 Kb |
Some card animation | 2,518 Kb |
Flexbox grow, shrink and basis | 2,305 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 |
CSS3 Animated buttons | Cguillou | 3,737 Kb |
Vue Transition | Chenming142 | 4,561 Kb |
Content Changer | Cliffpyles | 4,538 Kb |
Weather App | OmranAbazid | 2,596 Kb |
Long Shadow Button | Uixcrazy | 3,550 Kb |
Canvas Background Effect | Sonick | 3,513 Kb |
Console fun | Dviate | 1,500 Kb |
Growing Root - Scroll control - CANVAS | Cjonasw | 2,342 Kb |
Twitch Live Channels | Inkblotty | 4,956 Kb |
IE flex collapse bug fix | Rowno | 2,678 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!