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

Examples

Set Underline element display using fluent interface

use function Thermage\underline;
use function Thermage\render;

// ...

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

Set Underline element display using magic method fluent interface

use function Thermage\underline;
use function Thermage\render;

// ...

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

Set Underline element width using magic classes pipeline

use function Thermage\underline;
use function Thermage\render;

// ...

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

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