Several options are available
Array format
------------
First param can be an array with the following options:
- bottom
- left
- right
- top
Set margin for all borders
--------------------------
$bottom is set to a string
Leave all other parameters empty
Set margin for horizontal and vertical
--------------------------------------
$bottom value will be set to bottom and top
$left value will be set to left and right
public margin ( null | string | array $bottom = null, null | string $left = null, null | string $right = null, null | string $top = null ) : mixed | ||
$bottom | null | string | array | bottom margin, or array of margins |
$left | null | string | left margin |
$right | null | string | right margin |
$top | null | string | top margin |
Результат | mixed |