protected function prefixAlignItems( $value, $extra = null )
  {
    $prop[] = '-ms-flex-align';

    switch( $value )
    {
      case 'flex-start':
        $val[] = 'start';
        break;
      case 'flex-end':
        $val[] = 'end';
        break;
      default:
        $val[]  = $value;
        $prop[] = '-ms-grid-row-align';
        $val[]  = 'center';
        break;
    }

    $prop[] = '-webkit-align-items';
    $prop[] = 'align-items';
    $val[]  = $value;
    $val[]  = $value;

    return $this->getPrefixRules( $prop, $val, $extra );
  }
protected function prefixAlignItems( $value, $extra = null )
  {
    $prop[] = '-ms-flex-align';

    switch( $value )
    {
      case 'flex-start':
        $val[] = 'start';
        break;
      case 'flex-end':
        $val[] = 'end';
        break;
      default:
        $val[]  = $value;
        $prop[] = '-ms-grid-row-align';
        $val[]  = 'center';
        break;
    }

    $prop[] = '-webkit-align-items';
    $prop[] = 'align-items';
    $val[]  = $value;
    $val[]  = $value;

    return $this->getPrefixRules( $prop, $val, $extra );
  }
protected function prefixAlignItems ( $ value , $ extra = null ) { $ prop [ ] = '-ms-flex-align' ; switch ( $ value ) { case 'flex-start' : $ val [ ] = 'start' ; break ; case 'flex-end' : $ val [ ] = 'end' ; break ; default : $ val [ ] = $ value ; $ prop [ ] = '-ms-grid-row-align' ; $ val [ ] = 'center' ; break ; } $ prop [ ] = '-webkit-align-items' ; $ prop [ ] = 'align-items' ; $ val [ ] = $ value ; $ val [ ] = $ value ; return $ this -> getPrefixRules ( $ prop , $ val , $ extra ) ; }
Properly prefixes the 'align-items' property.

@param string  $value  The value of the property.
@param null    $extra  !important or null

@return array          The prefixed rules to replace the 'align-items' rule.
Properly prefixes the align - items property .