css logic sync