style function in flower ​