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

Examples

Set margin right style using fluent interface

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

// ...

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

Set margin right style using magic method fluent interface

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

// ...

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

Set margin right style using magic classes pipeline

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

// ...

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