/**
 * Set Div element text align vertical style.
 *
 * @param mixed $value Text align vertical value.
 *
 * @return self Returns instance of the Div element class.
 *
 * @access public
 */
public function textAlignVertical(string $value): self

Examples

Set Div element text align left using fluent interface

use function Thermage\div;
use function Thermage\render;

// ...

render (
  div('Stay RAD!')->textAlignVertical('middle')->h(10)->bg('red');
);

// or with magic method
render (
  div('Stay RAD!')->textAlignVerticalMiddle()->h10()->bgRed();
);

Set Div element text align left using magic classes pipeline

use function Thermage\div;
use function Thermage\render;

// ...

render (
  div('Stay RAD!', 'text-align-vertical-bottom h-10 bg-red')
);
Terminal
$ php thermage.php
Stay RAD!

By default Div element text align vertical style is middle, but you can change it to top or bottom.