Allow array syntax for FluentDOMStyle::css
Closed this issue · 0 comments
ThomasWeinert commented
Implement an FluentDOMStyle::css property, that allows to get/set css style properties using array syntax.
$border = $fd->css['border']; $fd->css['border'] = 'none'; $fd->css = array('border' => 'none', 'color' => '#000');
This would be syntax sugar for the FluentDOMStyle::css method.