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

Examples

Set Italic element display using fluent interface

use function Thermage\italic;
use function Thermage\render;

// ...

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

Set Italic element display using magic method fluent interface

use function Thermage\italic;
use function Thermage\render;

// ...

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

Set Italic element width using magic classes pipeline

use function Thermage\italic;
use function Thermage\render;

// ...

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

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