File save gif in CSS
How do I make an file save gif in css?
Inspired by Dribbble (http://dribbble.com/shots/1092480-Save-GIF). What is a file save gif in css? How do you make a file save gif in css? This script and codes were developed by Jaflo on 22 September 2022, Thursday.
File save gif in CSS - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>File save gif in CSS</title> <link rel='stylesheet prefetch' href='http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/themes/smoothness/jquery-ui.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! */ body { background: #282828; color: white; text-align: center; font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
}
a { color: white;
}
#file { font-size: 100px; width: 1em; height: .9em; background: #fff; border-radius: 0.05em; padding-top: 0.3em; position: absolute; top: 50%; right: 50%; margin-top: -0.45em; margin-right: -0.5em;
}
#file > i { width: 0; height: 0; margin-top: -0.3em; display: block; border: 0.15em solid #ddd; border-top-color: #282828; border-right-color: #282828; border-radius: 0 0 0 0.05em; float: right; box-shadow: -1px 2px 2px rgba(0,0,0,0.5);
}
#file > div { height: 0.1em; width: 0.8em; background: #d8d8d8; margin: 0.1em; no-box-shadow: inset 0 0.01em 0.03em rgba(0,0,0,0.2); transition: opacity 0.3s;
}
#file.done > div { opacity: 0;
}
#file > div > div { height: 0.1em; width: 100%; background: #111; transition: width 0.5s 0 linear;
}
#file > div.b > div { transition-delay: 0.5s;
}
#file > div.c > div { transition-delay: 1s;
}
#file > b { width: 0.15em; height: 0.36em; border: 0 solid #1dae2a; border-width: 0 0.15em 0.15em 0; transform: rotate(45deg) scale(0); position: absolute; margin: -0.6em -0.15em; transition: transform 0.3s ease-out;
}
#file.done > b { transform: rotate(45deg) scale(1);
}
span { display: none;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div id="file"> <i></i> <div><div></div></div> <div class="b"><div></div></div> <div class="c"><div></div></div> <b></b>
</div>
Change <code>font-size</code> to change file icon size. <br />
Inspired by <a href="http://dribbble.com/shots/1092480-Save-GIF">Dribbble</a><br />
<span>You missed the animation</span><br />
<div id="slider"></div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src='http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
File save gif in CSS - Script Codes CSS Codes
body { background: #282828; color: white; text-align: center; font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
}
a { color: white;
}
#file { font-size: 100px; width: 1em; height: .9em; background: #fff; border-radius: 0.05em; padding-top: 0.3em; position: absolute; top: 50%; right: 50%; margin-top: -0.45em; margin-right: -0.5em;
}
#file > i { width: 0; height: 0; margin-top: -0.3em; display: block; border: 0.15em solid #ddd; border-top-color: #282828; border-right-color: #282828; border-radius: 0 0 0 0.05em; float: right; box-shadow: -1px 2px 2px rgba(0,0,0,0.5);
}
#file > div { height: 0.1em; width: 0.8em; background: #d8d8d8; margin: 0.1em; no-box-shadow: inset 0 0.01em 0.03em rgba(0,0,0,0.2); transition: opacity 0.3s;
}
#file.done > div { opacity: 0;
}
#file > div > div { height: 0.1em; width: 100%; background: #111; transition: width 0.5s 0 linear;
}
#file > div.b > div { transition-delay: 0.5s;
}
#file > div.c > div { transition-delay: 1s;
}
#file > b { width: 0.15em; height: 0.36em; border: 0 solid #1dae2a; border-width: 0 0.15em 0.15em 0; transform: rotate(45deg) scale(0); position: absolute; margin: -0.6em -0.15em; transition: transform 0.3s ease-out;
}
#file.done > b { transform: rotate(45deg) scale(1);
}
span { display: none;
}
File save gif in CSS - Script Codes JS Codes
setTimeout(function() { $("#file").addClass("done");
}, 1500);
setTimeout(function() { $("span").css("display", "block");
}, 2000);
/*$("#slider").slider({ min: 10, max: 700, values: [200], slide: function( event, ui ) { $("#file").css("font-size",ui.value+"px"); }
});*/
Developer | Jaflo |
Username | jaflo |
Uploaded | September 22, 2022 |
Rating | 3 |
Size | 3,134 Kb |
Views | 44,528 |
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 |
A note | 3,325 Kb |
Pokemon-like dialogue box | 2,392 Kb |
Comment image widget | 3,176 Kb |
SimpleGroove bookmarklet | 263,204 Kb |
Little loader | 1,979 Kb |
Shopping cart | 4,412 Kb |
Icon wiggle animation | 2,169 Kb |
Resizable mail icon | 2,826 Kb |
Nice flat icon | 2,956 Kb |
Dialogue boxes | 3,897 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 |
Day 1 - Portfolio | Chpecson | 3,532 Kb |
Haml Calendar | Katydecorah | 5,643 Kb |
Flying Bee | Pwsm50 | 3,711 Kb |
Amazing CSS Menu with Notification Badges | Faizanasad | 2,549 Kb |
Table border-collapse property | Maxds | 1,672 Kb |
Tab panels | Accessibility | 0 Kb |
Polo, the flying squirrel | Agbales | 2,445 Kb |
Social buttons | Flacu | 2,022 Kb |
Flat UI Button | Honchoman | 2,289 Kb |
Personal Website Redesign v2.0 | DevItWithDavid | 5,168 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!