LogoLogo
Back to studio
  • 🧠Core Concepts
    • Introduction to Formsort
    • Formsort quickstart guides
      • Add content and collect answers
      • Capture demographic data
      • Add informational content
      • Template your variables
      • Add conditional logic
      • Using conditional logic with Calculated and API variables
      • Add a scheduling option
      • End the flow
      • Review your variable schema
      • Set up integrations
    • How data works in Formsort
      • Responder UUIDs
    • Understanding flows
    • Versioning in Formsort (Deploying)
      • Variant revisions
      • Managing revisions
  • ✨Creating Flows
    • Building a new flow
      • Groups
      • Steps
      • Copy-pasting form content
  • Adding questions and content
    • Questions
      • Select
      • Text
      • Address
      • Comparison
      • Confirmation
      • Date
      • Date & time
      • Email address
      • File upload
      • Grid choice
      • Iframe
      • Image upload
      • Number
      • Payment
      • Phone number
      • Postal code
      • Question group
      • Region
      • Signature
      • SSN
      • Yes/No
    • Content
      • Statement
      • Image
      • Next button
      • Video
      • Divider
      • Map
  • Controlling the flow with conditions and logic
    • Advanced logic
  • Variable templating
  • Redirects and endings
  • Field validation
  • Flow and variant management
  • Content library
  • 🧬JSON Form Definition
  • JSON schemas
  • Validating flow schemas
  • Events subscriptions
  • Flow content data format
  • 🎨Styling
    • Customizing appearance
      • Content area & form layout
      • Buttons
      • Typography
      • UI states
      • Color and dimension variables
      • Question containers
      • Inputs and dropdowns
      • Checkmarks
      • Tables
      • Sliders
      • Divider lines
      • Progress bar
      • Comparison cards
      • Animations and transitions
  • CSS & Advanced Styling
    • Custom CSS overrides
    • Step styling
    • CSS reference
  • 🔁Form Behavior Settings
    • Variant settings
      • Form behavior for returning users
      • Group ranking API
    • Navigation sidebar
  • ⚙️Response Data Collection & Management
    • Schema (variables)
      • Variables from questions
      • Externally provided variables
      • Calculated variables
      • API lookups
      • System Library variables
      • Orphaned variables
  • Saving & retrieving responses
  • Importing Data
    • URL parameters
    • POST body
    • Embed query parameters
  • 📊Analytics and Attribution
    • Built-in analytics
    • Split testing
  • 🚀Publishing and Deployment
    • Live preview overview
    • Environments
      • Loading different environments
    • Embedding
      • Web-embed API
        • React-embed
      • Adding authentication
      • Embedding forms in iOS and Android
      • Setting up a dev environment
    • Pre-deployment checklist
  • 📁Workspace Management
    • Accounts
      • Roles and permissions
    • Custom domains
    • Workspace domain detection
  • 🛠️Formsort Admin API
    • Admin API
  • 🔌Integrations
    • Form answers and events
      • Analytics events
      • Signed requests
      • Event payload shape
      • Submission frequencies
      • Runtime error reporting
    • 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
Powered by GitBook
On this page

Was this helpful?

  1. CSS & Advanced Styling

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.

PreviousStep stylingNextVariant settings

Last updated 2 days 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
dimension variables
rem units
base font size