Figures
Twitter bootstrap Documentation
Basic
- Result
- Source
<?php
echo $this->figure(
'/twbs-helper-module/img/docs/400x300.svg',
'A caption for the above image.',
[],
[
'fluid' => true,
'rounded' => true,
'alt' => '...',
]
);
Aligning figure's caption
- Result
- Source
<?php
echo $this->figure(
'/twbs-helper-module/img/docs/400x300.svg',
'A caption for the above image.',
[],
[
'fluid' => true,
'rounded' => true,
'alt' => '...',
],
['class' => 'text-end']
);