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

Examples

Set padding right style using fluent interface

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

// ...

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

Set padding right style using magic method fluent interface

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

// ...

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

Set padding right style using magic classes pipeline

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

// ...

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