RIP flashdrives

Developer
Size
3,657 Kb
Views
147,752

How do I make an rip flashdrives?

Pure CSS3 RIP USB Flash Drive Animation.Inspired by Morgan Knutson's Dribbble http://dribbble.com/shots/1122674-RIP-2007 and. What is a rip flashdrives? How do you make a rip flashdrives? This script and codes were developed by ZeroSpree on 13 July 2022, Wednesday.

RIP flashdrives Previews

RIP flashdrives - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>RIP flashdrives</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ .container{background:#F48F94;border:5px solid #fff;width:299px;height:465px;margin:-232px 0 0 -153px;position:absolute;top:50%;
left:50%;box-shadow:0 0 0 9999px #FCDCDE;animation:container 8s 2s infinite linear}
.flashdrive{margin:0 auto;width:45px;height:100px;background:#fff;border-radius:4px 4px 2px 2px;position:relative;top:147px;
animation:flashdrive 8s 2s infinite linear}
.flashdrive::after{content:'';width:37px;height:4px;background:#F48F94;position:absolute;top:4px;left:4px;
animation:fadeOut 8s 2s infinite linear}
.flashdrive::before{content:'RIP 2007';position:absolute;top:248px;left:-2px;font:700 10px/10px arial;letter-spacing:.63px;
color:#fff;white-space:nowrap;animation:textColor 8s 2s infinite linear}
.plug{position:absolute;top:104px;left:8px;width:29px;height:29px;background:#fff;border-radius:0 0 2px 2px;
animation:plug 8s 2s infinite linear}
.plug::before,
.plug::after{content:'';width:6px;height:5px;background:#F48F94;position:absolute;border-radius:1px;top:11px;left:4px;
animation:plugKnob 8s 2s infinite linear}
.plug::after{left:auto;right:4px;}
.grass,
.grass::before{width:20px;height:13px;border-radius:69%;box-shadow:3px 0px 0 #fff;display:block;position:relative;opacity:0;
animation:fadeIn 8s 2s infinite linear}
.grass{top:7px;left:7px;z-index:1;transform:rotate(24deg);}
.grass::before{content: '';top:-9px;left:21px;transform:rotate(119deg);}
.grass::after{content:'';width:7px;height:21px;border-radius:100%;box-shadow:1px 0px 0 #fff;display:block;opacity:0;
position:relative;top:-21px;left:22px;transform:rotate(167deg);animation:fadeIn 8s 2s infinite linear}
@keyframes fadeOut{	10%{opacity:0}	50%{opacity:0}	60%{opacity:1}
}
@keyframes fadeIn{	10%{opacity:0}	15%{opacity:1}	45%{opacity:1}	50%{opacity:0}
}
@keyframes container{	10%{background:#fff;box-shadow: 0 0 0 9999px #fff;}	50%{background:#fff;box-shadow: 0 0 0 9999px #fff;}	60%{background:#F48F94;box-shadow: 0 0 0 9999px #FCDCDE;}
}
@keyframes flashdrive{	10%{background:#505359;height:13px;border-radius:4px 4px 0 0;box-shadow:0 2px 0 #2D3034}	50%{background:#505359;height:13px;border-radius:4px 4px 0 0;box-shadow:0 2px 0 #2D3034}	60%{background:#fff;height:100px;border-radius:4px 4px 2px 2px;box-shadow:none}
}
@keyframes textColor{	10%{color:#9CA1A9}	50%{color:#9CA1A9}	60%{color:#fff}
}
@keyframes plug{	10%{transform:translateY(-135px);border-radius:0;background:#989DA5;box-shadow:0 2px 0 #898D93;}	50%{transform:translateY(-135px);border-radius:0;background:#989DA5;box-shadow:0 2px 0 #898D93;}	60%{transform:translateY(0px);border-radius:0 0 2px 2px;background:#fff;box-shadow:none}
}
@keyframes plugKnob{	10%{background:#505359}	50%{background:#505359}	60%{background:#F48F94}
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div class="container"> <div class="flashdrive"> <div class="plug"></div> <div class="grass"></div> </div>
</div> <script src="js/index.js"></script>
</body>
</html>

RIP flashdrives - Script Codes CSS Codes

.container{background:#F48F94;border:5px solid #fff;width:299px;height:465px;margin:-232px 0 0 -153px;position:absolute;top:50%;
left:50%;box-shadow:0 0 0 9999px #FCDCDE;animation:container 8s 2s infinite linear}
.flashdrive{margin:0 auto;width:45px;height:100px;background:#fff;border-radius:4px 4px 2px 2px;position:relative;top:147px;
animation:flashdrive 8s 2s infinite linear}
.flashdrive::after{content:'';width:37px;height:4px;background:#F48F94;position:absolute;top:4px;left:4px;
animation:fadeOut 8s 2s infinite linear}
.flashdrive::before{content:'RIP 2007';position:absolute;top:248px;left:-2px;font:700 10px/10px arial;letter-spacing:.63px;
color:#fff;white-space:nowrap;animation:textColor 8s 2s infinite linear}
.plug{position:absolute;top:104px;left:8px;width:29px;height:29px;background:#fff;border-radius:0 0 2px 2px;
animation:plug 8s 2s infinite linear}
.plug::before,
.plug::after{content:'';width:6px;height:5px;background:#F48F94;position:absolute;border-radius:1px;top:11px;left:4px;
animation:plugKnob 8s 2s infinite linear}
.plug::after{left:auto;right:4px;}
.grass,
.grass::before{width:20px;height:13px;border-radius:69%;box-shadow:3px 0px 0 #fff;display:block;position:relative;opacity:0;
animation:fadeIn 8s 2s infinite linear}
.grass{top:7px;left:7px;z-index:1;transform:rotate(24deg);}
.grass::before{content: '';top:-9px;left:21px;transform:rotate(119deg);}
.grass::after{content:'';width:7px;height:21px;border-radius:100%;box-shadow:1px 0px 0 #fff;display:block;opacity:0;
position:relative;top:-21px;left:22px;transform:rotate(167deg);animation:fadeIn 8s 2s infinite linear}
@keyframes fadeOut{	10%{opacity:0}	50%{opacity:0}	60%{opacity:1}
}
@keyframes fadeIn{	10%{opacity:0}	15%{opacity:1}	45%{opacity:1}	50%{opacity:0}
}
@keyframes container{	10%{background:#fff;box-shadow: 0 0 0 9999px #fff;}	50%{background:#fff;box-shadow: 0 0 0 9999px #fff;}	60%{background:#F48F94;box-shadow: 0 0 0 9999px #FCDCDE;}
}
@keyframes flashdrive{	10%{background:#505359;height:13px;border-radius:4px 4px 0 0;box-shadow:0 2px 0 #2D3034}	50%{background:#505359;height:13px;border-radius:4px 4px 0 0;box-shadow:0 2px 0 #2D3034}	60%{background:#fff;height:100px;border-radius:4px 4px 2px 2px;box-shadow:none}
}
@keyframes textColor{	10%{color:#9CA1A9}	50%{color:#9CA1A9}	60%{color:#fff}
}
@keyframes plug{	10%{transform:translateY(-135px);border-radius:0;background:#989DA5;box-shadow:0 2px 0 #898D93;}	50%{transform:translateY(-135px);border-radius:0;background:#989DA5;box-shadow:0 2px 0 #898D93;}	60%{transform:translateY(0px);border-radius:0 0 2px 2px;background:#fff;box-shadow:none}
}
@keyframes plugKnob{	10%{background:#505359}	50%{background:#505359}	60%{background:#F48F94}
}

RIP flashdrives - Script Codes JS Codes

/*	Pure CSS3 RIP USB Flash Drive Animation. Here's to all DropBox lovers out there :) Inspired by Morgan Allan Knutson's dribbble http://dribbble.com/shots/1122674-RIP-2007 and	Roko Kerovec's awesome rebound of it http://dribbble.com/shots/1122806-Usb-Rip	Couldn't decide which one to code, so I ended up with this animation.
*/
RIP flashdrives - Script Codes
RIP flashdrives - Script Codes
Home Page Home
Developer ZeroSpree
Username zerospree
Uploaded July 13, 2022
Rating 3.5
Size 3,657 Kb
Views 147,752
Do you need developer help for RIP flashdrives?

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!

ZeroSpree (zerospree) Script Codes
Create amazing sales emails 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!