whats the relationship between .stars and .star-1 and .star-2
i know .star is only the shape, and .star-1 and .star-2 are the same shape but placed in diferent locations.
does star code? … f*ck now i understand the 3 div elements have .star and .star-x on its class, it means each div has the same shape but diferent location.
but why is " animation-iteration-count: infinite; " on .star and not on .start-x? because its easy to just modify in 1 class? thas what i think.
having a stars class is to avoid duplicate coding so whatever would be the same on the star-x classes is instead written for the stars class, and whatever needs to differ is put in the star-x classes
an element is changed by all the css rules in selectors that target it, so it works totally fine having stuff in different classes