/**
* Set Bold element display style.
*
* @param string $value Bold display value.
*
* @return self Returns instance of the Bold element class.
*
* @access public
*/
public function d(string $value): self
Examples
Set Bold element display using fluent interface
use function Thermage\bold;
use function Thermage\render;
// ...
render(
bold('Stay RAD!')->d('block')
);
Set Bold element display using magic method fluent interface
use function Thermage\bold;
use function Thermage\render;
// ...
render(
bold('Stay RAD!')->dBlock()
);
Set Bold element width using magic classes pipeline
use function Thermage\bold;
use function Thermage\render;
// ...
render(
bold('Stay RAD!', 'd-block')
);
Terminal
$ php thermage.php
Stay RAD!
By default Bold element display state is inline
, but you can change it to block
or none
.