/**
 * Set Hr element border style.
 *
 * @param string $value Hr border style value.
 *
 * @return self Returns instance of the Hr element class.
 *
 * @access public
 */
public function border(string $value): self

Examples

Set border style using fluent interface

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

// ...

render(
  hr()->border('thin')
);

Set border style using magic method fluent interface

use function Thermage\hr;
use function Thermage\render;

// ...

render(
  hr('Stay RAD!')->borderThin()
);

Set border style using magic classes pipeline

use function Thermage\hr;
use function Thermage\render;

// ...

render(
  hr('', 'border-thin')
);
Terminal
$ php thermage.php
 

By default Hr element border is thin, but you can change it to double, triple, heavy, super-heavy, dashed, arrow-down, arrow-up, wave, rope, rope-heavy, brick, block-small, block-small-heavy, block, noise.