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

Examples

Set Heading element display using fluent interface

use function Thermage\heading;
use function Thermage\render;

// ...

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

Set Heading element display using magic method fluent interface

use function Thermage\heading;
use function Thermage\render;

// ...

render(
  heading('Stay RAD!')->dBlock()
);

Set Heading element width using magic classes pipeline

use function Thermage\heading;
use function Thermage\render;

// ...

render(
  heading('Stay RAD!', 'd-block')
);
Terminal
$ php thermage.php
Stay RAD!

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