I noticed a simple thing while looking at the screen of Windows 8 loading screen, there is a preloader (or loading icon) which is quite interesting, it has a bit of gravity/swing effect. I wanted to replicate the same using javascript and css but I don't have much understanding of javascript animations, thus wanted to know if you can give me a direction to head, where I can find similar kind of example. You could also help by providing a snippet of code which has similar kind of animation.
Any help would be appreciated.
Here is my pure CSS3 implementation with no Javascript in which I combined CSSload and Jan Rubio's codepen techniques for minimal markup and no id selectors:
HTML:
CSS:
I discovered you could find a similar script on
C:\Windows\WinStore\WinStore.css
andWinStore.htm
, Just openWinstore.htm
and you will discover a similar ring loading animation, provided byIE10
, if only someone could dump the animation info from Windows Shell... If you see with Notepad theWinStore.css
you will see something like this:Is that variable an animation info stored somewhere in the Windows Shell???
I tested loading the HTML page in Chrome and Firefox, nothing, just a normal loading bar.
Sorry for my bad english. I'm from Argentina.
not sure about javascript, but you can download it from http://preloaders.net/en/search/windows8
Check website CSSload. Here you can make your CSS loader in few seconds. I've made Windows 8 loader, so you can see it here.
Alternatively, try this code example...
Here is another take on the Modern UI ProgressRing animation in CSS3. It is based on the already mentioned Jan Rubio's solution with some tweaks (still needs tweaking, though).
Watch the live example or use the following code if the codepen is unavailable:
HTML
CSS (LESS, unprefixed)
I'm not sure, but maybe that's what you want: