x
@twicpics-components
Documentation
CSS style driven
You can set up the TwicPics components using pure CSS and the power of CSS variables.
1. Display ratio with
--twic-ratio
class
landscape
class
square
class
portrait
2. Class combination:
object-fit
and
position
with
--twic-mode
and
twic-position
class
contain
& class
left
class
contain
& class
right
class
cover
3. Other classical settings (here with
width
)
class
lg
class
md
class
sm