Tick Tock Layout
Section with content area and image grid.
Component Properties
Base Properties
Text / Background Color Theme .text-bg-[COLOR]
Using the Sass color-contrast()
function, the text color is automatically determined based on the defined $color-contrast-dark
and $color-contrast-light
text color variables for the contrasting color for a particular background-color
. Available classes are:
Minimum Header Height .min-vh-[VALUE]
Set a minimum height for the entire header based on the height of the viewport.
.min-vh-40
- 40% of the viewport height
.min-vh-60
- 60% of the viewport height
.min-vh-75
- 75% of the viewport height
.min-vh-90
- 90% of the viewport height
.min-vh-100
- 100% of the viewport height
Section Vertical Spacing .sec-spacing[VALUE]
Optional: Adds top and bottom padding to section.
none
- If no spacing is choosen then the spacing class
.content-spacer
will be added to the.section-content
element .sec-spacing
- Adds top and bottom spacing to section
.sec-spacing-sm
- Adds a small amount top and bottom spacing to section
.sec-spacing-lg
- Adds a large amount top and bottom spacing to section
Fluid Container .container[FLUID]
Use .container-fluid
for a full width container, spanning the entire width of the viewport
.container
- Standard width section contrainer
.container-fluid
- Full width section contrainer
Content width [CONTENT_WIDTH]
Set the width of the content column for desktop vieports.
.col-lg-3
- --
.col-lg-6
- --
.col-lg-9
- --
Content Position [CONTENT_ORDER]
Controls the position of the content for desktop vieports.
--
- Media Left / Text Right (default)
.order-lg-last
- Text Left / Media Right
Component Modifier [MODIFIER]
Optionally add a modifier class to the component.
Example
Media - Image
Image types [IMAGE_TYPE]
Various class names that controls how the image responds whithin it's column.
.img-fit
- Will fill the entire column's height and width. The image's aspect ratio will dictate the height of the section if no minimum height is set.
.img-fluid
- This applies
max-width: 100%;
andheight: auto;
to the image so that it scales with the parent width. .img-ar1-1
.img-ar4-5
.img-ar3-2
.img-ar16-9- Applies aspect ratio to image. Image forced to 100% of the partent's width.
Example
<img class="[IMAGE_TYPE]" src="..." srcset="..." sizes="..." alt="...">