chane style into attr