LogoLogo
Back to studio
  • Formsort documentation
  • โฉQuickstart
    • ๐ŸŸขGet started with Formsort
    • ๐ŸŽCore concepts
    • โ„น๏ธQuestion and content reference
    • ๐Ÿ“•Key terms
    • ๐Ÿž๏ธCreate your first flow
    • ๐Ÿ“–Add content and collect answers
      • ๐ŸคณCapture demographic data
      • โ„น๏ธAdd informational content
      • ๐Ÿ” Review your variable schema
    • ๐ŸŽจCreate a theme
      • Set brand guidelines
    • ๐ŸคนPersonalize your flow
      • ๐ŸŒŸTemplate your variables
      • ๐Ÿง Add conditional logic
      • ๐Ÿ’ซUsing conditional logic with Calculated and API variables
      • ๐Ÿ”šEnd the flow
    • ๐Ÿ”€Set up integrations
    • ๐Ÿš€Go live
      • Auditing your flow for content, functionality, and design
    • ๐Ÿ’ผCommon use cases
      • ๐Ÿ’”Disqualify responders
      • ๐Ÿ—“๏ธAdd a scheduling option
      • ๐Ÿ“„Allow responders to read and accept your company policies
  • ๐Ÿ—๏ธBuilding flows
    • Flows and variants
      • Flow starts
    • Adding content
      • Groups
      • Steps
        • Settings
        • Logic
        • Style
      • Questions
        • General Settings
        • Style
        • Address
        • Comparison
        • Confirmation
        • Date
        • Date & Time
        • Email address
        • File upload
        • Grid choice
        • Iframe
        • Image upload
        • Number
        • Payment
        • Phone number
        • Postal code
        • Question group
        • Region
        • Select
          • Providing choices via API or calculation
        • Signature
        • SSN
        • Text questions
        • Yes/No
      • Content
        • General Settings
        • Statement
        • Image
        • Video
        • Next button
        • Divider
        • Map
      • Endings
      • Using markdown
      • Using variable templating
        • Template formatting functions
      • Copy-pasting form content
      • Content library
    • Conditions and logic
      • Logical operator reference
      • Advanced logic
    • Variables (answers)
      • Variables from questions
      • Externally provided variables
      • Calculated variables
      • API lookups
      • System Library variables
      • Orphaned variables
    • Schemas
      • JSON Schemas
      • Validating flow schemas
    • Redirects
    • Styling and themes
      • CSS Reference
      • Overriding theme styling
      • Custom CSS overrides
      • Content area
      • Animations and transitions
      • Form Layout
      • Typography
        • Adobe Fonts
        • Hosting custom fonts
      • Color variables
      • Dimension variables
      • Question containers
      • Assets
      • Form Buttons
        • Select buttons
      • Inputs and dropdowns
      • Checkmarks
      • Tables
      • Sliders
      • Divider lines
      • Progress bar
      • Comparison cards
    • Variant settings
      • Form behavior for returning responders
      • Group ranking API
    • Publishing and versions
      • Preview window
      • Deploying
      • History
  • ๐Ÿ’พHandling data
    • Philosophy and data retention policy
    • Viewing form answers
    • Responder UUIDs
    • Environments
      • Loading different environments
    • Passing data in
      • URL parameters
      • POST body
      • Embed query parameters
    • Custom validators
    • Form answers and events
      • Analytics events
      • Signed requests
      • Event payload shape
      • Submission frequencies
      • Runtime error reporting
      • Admin API
      • Flow content data format
    • Integration reference
      • Amplitude
        • Amplitude cross domain tracking
      • BigQuery
      • FullStory
      • Google Analytics
        • Updating from Universal Analytics to GA4
      • Google Cloud Storage
      • Google Sheets
      • Google Tag Manager (GTM)
        • JavaScript triggered by flow events
      • Hubspot
      • Jornaya
      • Optimizely
      • PostgreSQL
      • Redshift
      • Rudderstack
      • S3
      • Salesforce
      • Segment
        • Segment Setup
        • Segment cross domain tracking
      • Stripe
      • TrustedForm
      • Webhooks
        • Zapier
  • ๐Ÿ“บGoing live
    • Custom domains
    • Built-in analytics
    • Embedding
      • Web-Embed API
        • React-embed
      • Adding authentication
      • Embedding forms in iOS and Android
      • Setting up a dev environment
    • Split testing
    • Preflight checklist
  • ๐ŸขTeams
    • Accounts
      • Roles and permissions
    • Events subscriptions
    • Workspace domain detection
Powered by GitBook
On this page

Was this helpful?

  1. Building flows
  2. Styling and themes

CSS Reference

The Formsort studio has many CSS properties that can be manipulated to customize your flow - here is a reference to help get your bearings.

PreviousStyling and themesNextOverriding theme styling

Last updated 8 months ago

Was this helpful?

Property
Definition

The space around the outside of the border of the element

The space between the content and the border of the element

Rounds the corners of an element's outer border edge

Sets the color of an element's border

Sets width of an element's border

Adds a shadow effect around an element's frame

Sets the minimum height of an element

Sets minimum width of an element

Sets the maximum width of an element

Let's you rotate, scale, skew, or translate an element

Sets the horizontal alignment of the content inside a block

The degree to which the content behind and element can be seen

Sets the weight (i.e. boldness) of the font. The weights available are determined by the font-family that is set

Sets the space between lines of text

CSS Length Units

Formsort recommends using a handful of the when defining the dimensions of a component (margin, padding, font size, etc.)

Property
Definition

rem

Ex: 1.5rem of a base font size of 16px will be 24px (1.5 x 16 = 24).

vw

Relative to 1% width of the viewport.

100vw = 100% width of the viewport.

vh

Relative to 1% height of the viewport.

100vh = 100% height of the viewport.

%

Relative to the size of the parent element. Setting 100% on a width property will allow that component to take 100% of the available space.

px

Sets the size of the font. For responsive design, are recommended

Relative to the . This allows responsiveness if there are differing base font sizes for different viewports.

Pixel: 1px = 1/96th of 1in. Pixels are unresponsive, so it is considered an absolute value. If the content max width setting is 500px, it will be 500px regardless of changes in the viewport size (you can use to create responsiveness, however) Useful for setting an absolute value for a component, i.e. a base font size or the width/height of a component.

๐Ÿ—๏ธ
CSS length units
margin
padding
border-radius
border-color
border-width
box shadow
min-height
min-width
max-width
transform
text-alignment
opacity
font-size
font-weight
line-height
rem units
base font size
dimension variables