ConnorAtherton / loaders.css

Delightful, performance-focused pure css loading animations.
https://connoratherton.com/loaders
10.22k stars 1.22k forks source link

Can the nth-child(0) match some element ? #54

Closed agileago closed 8 years ago

agileago commented 9 years ago

https://github.com/ConnorAtherton/loaders.css/blob/master/loaders.css#L45

this project is very fantasy ! but i find the source code has the nth-child(0) selector . as far as i know.

it can't match any element . why is it exist ?

ConnorAtherton commented 8 years ago

Hey @agileago, you're right - good catch! This is an off by one error present in the mixin signatures for some of the animations, e.g. @mixin ball-pulse-sync($n:3, $start:0) {. Removing now.