Flux Product Docs
  • What is Flux?
  • Guides
    • Creating a Premium Video
    • Creating Your First Site
    • Creating a Countdown
    • Creating a Navigation Bar
    • Creating a Group
    • Custom 404 Page
    • Adding a Favicon to Your Site
    • Adding Videos to Your Site
    • Managing Your Guest List
    • Asset Management
    • Creating Sites from Site Templates
    • Publishing Site Versions
    • Advanced Debugging
  • Fundamentals
    • Key Concepts
    • Sites
    • Guests
    • Environments
      • Show Variables
    • Flows
      • Anatomy of a Node
      • Connecting Nodes and Building Flows
      • Passing Data
      • Scope
      • Interpolation
    • Keyboard Shortcuts
      • Keyboard Shortcuts - Page Editor
    • Animation States
    • Local Variables
    • Groups
  • Use Cases
    • For Designers
    • For Engineers
      • Custom CSS
      • Custom Modules
    • For Event Manager
      • Intercom Integration
  • Documentation
    • FAQ
    • Glossary
    • 🚀Show Controller
      • Modes
    • Domains and Subdomains
      • Hover
      • AWS Route 53
    • Premium Live Channels
    • Basic Video
    • Premium Video
      • AI Generated Subtitles
      • Supported Input Codecs and Containers
      • Supported Language Labels
      • Serverside Forensic Watermarking
    • Flow Nodes
      • Middleware
  • Modules
    • Access Code
    • Audio
    • Button
    • Carousel
    • Chat
    • Checkbox
    • Container
    • Countdown
    • Date
    • Embed
    • Image
    • Intercom
    • Link
    • Lottie
    • Page
    • Meter
    • Modal
    • Photobooth Gallery
    • Open Login
    • QR Code
    • Radio
    • Rich Text
    • Stack
    • Style
    • Spline
    • Switch
    • Text Input
    • Video
  • Template Guides
    • NatGeo FYC
      • Adding a Panel
    • Meow Wolf All Shrimps
  • 🚀Change Logs
    • July 12, 2024
    • June 08, 2024
    • April 26, 2024
    • April 12, 2024
    • March 29, 2024
    • March 15, 2024
    • March 1, 2024
    • September 2022
    • August 2022
    • July 2022
    • June 2022
Powered by GitBook
On this page
  • Overview
  • Style Properties

Was this helpful?

  1. Modules

Style

Last updated 2 years ago

Was this helpful?

Overview

The Style module is a blank slate module that can be used as a parent module for applying consistent styling to its children.

Style Properties

Orientation Dropdown Sets how children of a Style module are oriented. The following options can be used:

  • horizontal

  • vertical

Enable Auto Layout Checkbox - enabled or disabled

  • repeat-x

  • repeat-y

  • repeat

  • space

  • round

  • no-repeat

Style attribute String, css style property input Can apply additional CSS to customize the contents of the Style module.

String, url Defines a background image. This property accepts a URL of an image.

String - Valid color string (white) or hex code (#FFFFF) Defines a background color.

String, css property Sets how background images are repeated. Options include:

String, css property Sets whether the background image position is fixed within the viewport, or scrolls with its containing block.

String, css property value Defines the position of the background, if one was specified.

String, css property value Defines the size mode of the background.

String Defines the max height. This property accepts lengths followed by a relative unit (em, ex, or px) or percentages. Example: 6px or 1em

String Defines the minimum height. This property accepts lengths followed by a relative unit (em, ex, or px) or percentages. Example: 6px or 1em

String Defines the padding around the edge of the contents of the Style module. This property will only add space around the edge of the content of the Style module, not between children. This property accepts lengths followed by a relative unit (em, ex, or px) or percentages. Example: 500px or 5em

String Defines the margin around the outside of the Style module. This property accepts lengths followed by a relative unit (em, ex, or px) or percentages. Example: 500px or 5em

Background Image
Background Color
Background Repeat
Background Attachment
Background Position
Background Size
Max Height
Min Height
Padding
Margin
A blank Style module in the Layout Editor