split style to separated blocks