Repository navigation
v4 super easy to use spinner suggestion #19556
Description
Activity
Those are indeed nice, but not sure it would make sense as part of Bootstrap core, since it does not currently have any spinner component, and spinners are generally only useful when you're doing dynamic changes to your pages / components, which we don't really do in core (unless I missed a specific place where they would fit naturally?)
- addedfeatureNew feature, or a change to how an existing one worksNew feature, or a change to how an existing one workscssSass sources or compiled CSSSass sources or compiled CSSv4v4, the frozen docs on gh-pagesv4, the frozen docs on gh-pages
on Mar 16, 2016 Maybe Bootstrap will have a nice spinner with this PR : #17822
@patrickhlauke It's on the Big Picture list for v4 #17021
Find an easy-to-use, performant spinner to include with Bootstrap.
@MrGeneric ah, good spot. @mdo ?
A lot of these animations are animating properties which cause layout repainting and the layers they belong to are uploaded to the GPU. On mobile devices this is particularly expensive because CPUs are significantly less powerful than their desktop counterparts, meaning that the painting work takes longer; and the bandwidth between the CPU and GPU is limited. You can easily see this by turning on Paint flashing in Chrome > devtools > Rendering tab:
I do think these animations can be rewritten to a version which doesn't trigger repainting (not with a single element though).
Sources:

Hi, really like the first and the last one
https://github.com/lukehaas/css-loaders
demo :http://projects.lukehaas.me/css-loaders/