Menu

SpecialRandom content

A wrapper you can use to show random content. You can use this to randomly show an image, a box or any other piece of content.

Minimum requirements
  • 2 pieces of content (*)
Advanced settings

Presets

?

Variations

?

First out of three paragraphs.

Second out of three paragraphs.

Third out of three paragraphs.


First out of two large boxes

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Eu sem integer vitae justo eget magna fermentum iaculis eu. Et tortor consequat id porta. Quis varius quam quisque id diam vel.

Lorem ipsum dolor sit amet

Second out of two large boxes

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Eu sem integer vitae justo eget magna fermentum iaculis eu. Et tortor consequat id porta. Quis varius quam quisque id diam vel.

Lorem ipsum dolor sit amet


HTML
Copy to clipboard

Details

Usage

Can be used inside or over any component or components. Simply add a random class around the content you wish to randomize, and then add a random-item class on each item you wish to have randomly show up.

Guidelines

  1. Can be used everywhere
  2. Only a single random-item is shown at a time. To show more than one, create multiple random groups.

HTML structure

Overall HTML view of a random group:

HTML file (.html)
(other element)
(other element) (optional)
*.random
(other element) (optional)
*.random-item
(other component(s))

Presets

Table with random presets:

PresetDescription
Random paragraphExample of how to randomize paragraphs.
Random large boxExample of how to randomize large boxes.
Random imageExample of how to randomize an image.

Variations

Table with random variations:

VariationDescription
Random paragraphExample of how to randomize paragraphs.
Random large boxExample of how to randomize large boxes.
Random imageExample of how to randomize an image.