/**
 * Set Div element strikethrough style.
 *
 * @return self Returns instance of the Div element class.
 *
 * @access public
 */
public function strikethrough(): self

Examples

Set strikethrough style using fluent interface

use function Thermage\div;
use function Thermage\render;

// ...

render(
  div('Stay RAD!')->strikethrough()
);

Set strikethrough style using magic classes pipeline

use function Thermage\div;
use function Thermage\render;

// ...

render(
  div('Stay RAD!', 'strikethrough')
);

Set strikethrough style using shortcodes

use function Thermage\div;
use function Thermage\render;

// ...

render(
  div('[strikethrough]Stay RAD![/strikethrough]').
  div('[s]Stay RAD![/s]')
);
Terminal
$ php thermage.php
Stay RAD!