css() 공개 메소드

get or set CSS values in style attributes
public css ( string | array $property, variadic<[string | object | callable]> $arguments ) : string | null | $this
$property string | array
$arguments variadic<[string | object | callable]>
리턴 string | null | $this
예제 #1
0
파일: Css.php 프로젝트: fluentdom/fluentdom
 /**
  * Allow to use array syntax to change a css property value on all matched nodes.
  *
  * @see ArrayAccess::offsetSet()
  * @param string $name
  * @param string $value
  */
 public function offsetSet($name, $value)
 {
     $this->_fd->css($name, $value);
 }