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

Examples

Set border style using fluent interface

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

// ...

render( 
  div('Stay RAD!')->border('square')
);

Set border style using magic method fluent interface

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

// ...

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

Set border style using magic classes pipeline

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

// ...

render(
  div('Stay RAD!', 'border-square')
);
Terminal
$ php thermage.php
Stay RAD!

You can set border style square, rounded, double, heavy.