/**
 * Set Div element padding top style.
 *
 * @param int $value Padding top value.
 *
 * @return self Returns instance of the Div element class.
 *
 * @access public
 */
public function pt(int $value): self

Examples

Set padding top style using fluent interface

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

// ...

render(
  div('Stay RAD!')->pt(10)->bg('red')
);

Set padding top style using magic method fluent interface

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

// ...

render(
  div('Stay RAD!')->pt10()->bgRed()
);

Set padding top style using magic classes pipeline

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

// ...

render(
  div('Stay RAD!', 'pt-10 bg-red')
);
Terminal
$ php thermage.php
Stay RAD!