thewisenerd / pure-css-loader

Home Page:https://thewisenerd.github.io/pure-css-loader/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pure-css-loader

how do I appease to that guy on tor users who have disabled javascript while minimizing the effects of FOUC?

show the CSS page loader regardless of no-js and hide the loader after n seconds with <noscript>.

hey! i said "minimize", not "prevent"!

the source code should be fairly simple to go through. run down;

note: serve keyframes,etc css using gzip, because those tend to get big.

add one of the following to the ending keyframe (@ 100%).

overflow: hidden;
visibility: hidden;
display: none;

as to when to use what, use your own discretion.

references

this answer on SO

About

https://thewisenerd.github.io/pure-css-loader/

License:The Unlicense


Languages

Language:CSS 59.3%Language:JavaScript 20.8%Language:HTML 20.0%