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

Examples

Set margin both style using fluent interface

use function Thermage\anchor;
use function Thermage\render;

// ...

render(
  anchor('Thermage')->href('https://awilum.github.io/thermage/')->mx(10)
);

Set margin both style using magic method fluent interface

use function Thermage\anchor;
use function Thermage\render;

// ...

render(
  anchor('Thermage')->href('https://awilum.github.io/thermage/')->mx10()
);

Set margin both style using magic classes pipeline

use function Thermage\anchor;
use function Thermage\render;

// ...

render(
  anchor('Thermage', 'mx-10')->href('https://awilum.github.io/thermage/')
);
Terminal
$ php thermage.php