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

Examples

Set hr element display using fluent interface

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

// ...

render(
  div('Stay RAD!')->d('block')
);

Set hr element display using magic method fluent interface

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

// ...

render(
  hr()->dBlock()
);

Set Hr element width using magic classes pipeline

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

// ...

render(
  hr('', 'd-block')
);
Terminal
$ php thermage.php
 

By default Hr element display state is block, but you can change it to none.