data-resolve style parsing

support CSS like and JSON formats