Set envs to animate on loading only (except PROD) (#18)
Simply update the code with what i've been using lately so it only animate when the `.Loader` is created by react. Except for PROD where animation runs anytime. Use both the new `:has()` pseudo-class and fallback to regular `:not(:only-child())` for unsupported browser (Firefox)
BIN
public/PERF_banner.jpg
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
public/PERF_banner_animated.mov
Normal file
BIN
public/PLLR_banner.jpg
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
public/PLLR_banner_animated.mov
Normal file
Before Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 69 KiB |
BIN
public/PREP_banner.jpg
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
public/PREP_banner_animated.mov
Normal file
BIN
public/PROD_banner.jpg
Normal file
After Width: | Height: | Size: 22 KiB |