Icon Box


HTML Markup :

Icon box 1

Icon Box

Icon Box

Icon box 2 – animated counter

Icon box 3

CSS Classes

ct-iconBox-1, .ct-iconBox-2, .ct-iconBox-3: Icon boxes type.
ct-icon: Sets size for image or icon.
ct-img-wrapper-2: Sets position relative.

ct-img-wrapper-2: returns position relative.

ct-fw-700: font weight 700.

animated, activate, pulse, infinite: Add animation to the icon, requires using ‘cssAnimate‘ class in body HTML attribute.
Class ‘pulse‘ can be replaced with other class like ‘wobble‘ or ‘shake‘ to receive different animation

ct-content: some description, text, etc.
ct-u-colorWhite: gives white color to a component.

Icon boxes may be used as counters, therefore js classes are required.
To create a counter, remember to attach “ct-js-counter” class to counter component like below:

You can edit counter settings with the following data attributes:
data-ct-to: Max value for counter to count.
data-ct-speed: Counter speed.

Remember to attach the following script to your HTML page, when you want to use a counter: