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

Examples

Set margin both style using fluent interface

use function Thermage\span;
use function Thermage\render;

// ...

render( 
  span('Stay RAD!')->mx(10)
);

Set margin both style using magic method fluent interface

use function Thermage\span;
use function Thermage\render;

// ...

render( 
  span('Stay RAD!')->mx10()
);

Set margin both style using magic classes pipeline

use function Thermage\span;
use function Thermage\render;

// ...

render( 
  span('Stay RAD!', 'mx-10')
);

Set margin both style using shortcodes

use function Thermage\span;
use function Thermage\render;

// ...

render( 
  span('[mx=10]Stay RAD![/mx]')
);
Terminal
$ php thermage.php
Stay RAD!