Factbox
Add facts in a wrapped box
Last modified: April 11, 2023
Block name
t2/factbox
Properties (t2.json)
Icon position. default|inline
layout
Icon
Style properties
Background color
- --t2-factbox-color-background
- Default: #fff
Border
- --t2-factbox-border
- Theme.json: wp.custom.t2-factbox.border
- Default: 1px
Max Height
- --t2-factbox-max-height
- Theme.json: wp.custom.t2-factbox.max-height
- Default: 150px
Base margin
- --t2-factbox-spacing-margin
- Default: 1.75em
Accessibility checklist
- Reduced motion: Removes animations when
prefers-reduced-motion
is enabled.