### FlowKit Component Classes Examples Source: https://developers.webflow.com/flowkit/v2.0.0/getting-started/intro Provides examples of FlowKit's component classes, which define standalone UI elements. The naming pattern is typically `component_property` or `component_part_property`. ```HTML
...
...
... ``` -------------------------------- ### FlowKit Grid System Responsive Behavior Example Source: https://developers.webflow.com/flowkit/v2.0.0/structure/grid The FlowKit CSS Framework includes built-in responsive behavior for its grid classes. This example shows how a `grid_3-col` class can adapt to different screen sizes, defaulting to a single column on smaller devices. ```CSS .grid_3-col { display: grid; grid-template-columns: repeat(3, 1fr); } @media (max-width: 768px) { .grid_3-col { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 480px) { .grid_3-col { grid-template-columns: 1fr; } } ``` -------------------------------- ### FlowKit Grid System Responsive Combo Class Example Source: https://developers.webflow.com/flowkit/v2.0.0/structure/grid This example demonstrates how to use a responsive combo class in FlowKit to override the default responsive behavior of a grid. Here, `tablet-1-col` is applied to `grid_3-col` to force a single column layout on tablet devices. ```CSS .grid_3-col.tablet-1-col { /* Default grid_3-col styles */ display: grid; grid-template-columns: repeat(3, 1fr); } @media (max-width: 768px) { .grid_3-col.tablet-1-col { grid-template-columns: 1fr; } } ``` -------------------------------- ### Text Alignment Utility Classes Source: https://developers.webflow.com/flowkit/v2.0.0/variables/typography Provides examples of utility classes for aligning text in FlowKit. ```CSS /* Text Alignment Modifiers */ .text-left { text-align: left; } .text-center { text-align: center; } .text-right { text-align: right; } ``` -------------------------------- ### FlowKit Component Structure Example (Nav) Source: https://developers.webflow.com/flowkit/v2.0.0/getting-started/intro Demonstrates the nested structure and naming conventions for a 'Nav' component in FlowKit, showing how sub-elements are named relative to the parent component. ```HTML ``` -------------------------------- ### FlowKit Utility Class Examples Source: https://developers.webflow.com/flowkit/v2.0.0/foundation/spacing Demonstrates utility classes that apply spacing using the defined variables for consistency in margins and paddings. ```CSS .icon-is-small { --icon-size: var(--spacing-0_75x); } .flex_horizontal { display: flex; flex-direction: row; } .gap-small { gap: var(--gap-small); } .padding-bottom_small { padding-bottom: var(--spacing-1x); } .margin-top_small { margin-top: var(--spacing-1x); } ``` -------------------------------- ### Subheading Class Example Source: https://developers.webflow.com/flowkit/v2.0.0/variables/typography Demonstrates the usage of the `subheading` class in FlowKit, which automatically inherits color and applies a transparent tint to text accompanying headings. ```HTML

Main Heading

This is a subheading that complements the main heading.

``` -------------------------------- ### Webflow REM Calculation Example Source: https://developers.webflow.com/flowkit/v2.0.0/getting-started/units Webflow allows for direct REM-based mathematical calculations within its input fields. This example shows how to input a division to achieve a REM value, such as converting pixels to REM. ```Webflow 64/16REM ``` -------------------------------- ### Heading Styles with Variables Source: https://developers.webflow.com/flowkit/v2.0.0/variables/typography Illustrates how heading tags and classes utilize variables for consistent styling across different breakpoints. Includes an example for `heading_h1`. ```CSS /* Heading Styles */ .heading_h1, h1 { font-size: var(--h1-font-size); font-weight: var(--h1-font-weight); margin-bottom: var(--h1-margin-bottom); } /* Example for responsive variables */ @media (min-width: 768px) { .heading_h1, h1 { font-size: var(--h1-font-size-md); } } ``` -------------------------------- ### Text Color Utility Classes Source: https://developers.webflow.com/flowkit/v2.0.0/variables/typography Provides examples of utility classes for modifying text colors in FlowKit. ```CSS /* Text Color Modifiers */ .text-primary { color: var(--color-primary); } .text-secondary { color: var(--color-secondary); } .text-danger { color: var(--color-danger); } ``` -------------------------------- ### T-Shirt Sizing Scale Examples Source: https://developers.webflow.com/flowkit/v2.0.0/getting-started/intro FlowKit utilizes a t-shirt sizing scale (xxsmall to xxlarge) for consistent naming of size-related classes. This scale applies to various properties including spacing, borders, text, icons, and layout. ```HTML
...

...

...
...
...
``` -------------------------------- ### FlowKit Naming Conventions: Underscore Usage Source: https://developers.webflow.com/flowkit/v2.0.0/getting-started/intro Explains the use of underscores in FlowKit for separating components from their parts/properties, connecting utility properties with values, and applying responsive variants to utility classes with breakpoint postfixes. ```CSS /* Separating components from parts or properties */ .card_body {} .nav_logo {} .footer_link {} /* Connecting utility properties with values */ .margin-top_small {} .width_40percent {} .z-index_2 {} /* Responsive variants of utility classes */ .text-align_center_mobile {} .width_100percent_mobile-l {} ``` -------------------------------- ### FlowKit Grid System Basic Classes Source: https://developers.webflow.com/flowkit/v2.0.0/structure/grid The FlowKit CSS Framework provides basic grid classes for creating a flexible layout foundation using CSS Grid. These classes define the number of columns for a grid, with options ranging from one to twelve columns. ```CSS .grid_1-col { display: grid; grid-template-columns: repeat(1, 1fr); } ``` ```CSS .grid_2-col { display: grid; grid-template-columns: repeat(2, 1fr); } ``` ```CSS .grid_3-col { display: grid; grid-template-columns: repeat(3, 1fr); } ``` ```CSS .grid_4-col { display: grid; grid-template-columns: repeat(4, 1fr); } ``` ```CSS .grid_5-col { display: grid; grid-template-columns: repeat(5, 1fr); } ``` ```CSS .grid_6-col { display: grid; grid-template-columns: repeat(6, 1fr); } ``` ```CSS .grid_9-col { display: grid; grid-template-columns: repeat(9, 1fr); } ``` ```CSS .grid_12-col { display: grid; grid-template-columns: repeat(12, 1fr); } ``` -------------------------------- ### Create Overlays with FlowKit Source: https://developers.webflow.com/flowkit/v2.0.0/reference/utilities Adds translucent layers above content to improve readability or emphasize text. Supports opacity levels and inverse colors, and can be combined with masks. ```CSS .overlay { background-color: rgba(0, 0, 0, 0.5); } .overlay.is-inverse { background-color: rgba(255, 255, 255, 0.5); } .overlay_opacity-low { opacity: 0.2; } /* Link Overlay */ .link-overlay { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; } /* Overlay with Mask Example */ /* .overlay.mask_top */ /* .overlay.mask_left */ ``` -------------------------------- ### Flex Alignment - Vertical (CSS) Source: https://developers.webflow.com/flowkit/v2.0.0/structure/flex Aligns flex items vertically within a flex container. Examples include aligning to the top, center, or bottom. ```CSS .flex_horizontal.is-y-top { align-items: flex-start; } ``` ```CSS .flex_horizontal.is-y-center { align-items: center; } ``` ```CSS .flex_horizontal.is-y-bottom { align-items: flex-end; } ``` ```CSS .flex_vertical.is-y-bottom { align-items: flex-end; } ``` ```CSS .flex_vertical.is-y-center { align-items: center; } ``` -------------------------------- ### Responsive Width Control with FlowKit Source: https://developers.webflow.com/flowkit/v2.0.0/reference/utilities Manages fixed, responsive, and percentage-based width settings for elements across different breakpoints (Desktop, Tablet, Mobile Landscape, Mobile Portrait). ```CSS .max-width_xsmall { max-width: var(--breakpoint-xsmall); } .max-width_small { max-width: var(--breakpoint-small); } .max-width_medium { max-width: var(--breakpoint-medium); } .max-width_large { max-width: var(--breakpoint-large); } .width_auto { width: auto; } .width_small { width: var(--size-small); } .width_medium { width: var(--size-medium); } .width_35percent { width: 35%; } .width_40percent { width: 40%; } .width_50percent { width: 50%; } .width_60percent { width: 60%; } .width_100percent { width: 100%; } /* Tablet */ .width_50percent_tablet { width: 50%; } .width_60percent_tablet { width: 60%; } .width_100percent_tablet { width: 100%; } /* Mobile Landscape */ .width_70percent_mobile-l { width: 70%; } .width_80percent_mobile-l { width: 80%; } .width_100percent_mobile-l { width: 100%; } /* Mobile Portrait */ .width_100percent_mobile { width: 100%; } ``` -------------------------------- ### FlowKit Naming Conventions: Hyphen Usage Source: https://developers.webflow.com/flowkit/v2.0.0/getting-started/intro Demonstrates the use of hyphens in FlowKit for connecting words in names, defining combo class modifiers (states, context, spacing, interactions), and creating responsive modifiers for combo classes. ```CSS /* Component names, property names, or values */ .rich-text {} .text-align_center {} .margin-top_small {} .background_primary {} /* Combo class modifiers */ .is-secondary {} .on-inverse {} .gap-small {} /* Responsive modifiers for combo classes */ .flex_horizontal.tablet-vertical {} .grid_5-col.mobile-2-col {} ``` -------------------------------- ### Flex Alignment - Horizontal (CSS) Source: https://developers.webflow.com/flowkit/v2.0.0/structure/flex Aligns flex items horizontally within a flex container. Examples include centering, aligning to the right, or distributing space between items. ```CSS .flex_horizontal.is-x-center { justify-content: center; } ``` ```CSS .flex_horizontal.is-x-right { justify-content: flex-end; } ``` ```CSS .flex_horizontal.is-x-space-between { justify-content: space-between; } ``` -------------------------------- ### FlowKit CSS Framework v2 Naming Conventions Source: https://developers.webflow.com/flowkit/v2.0.0/changelog This snippet demonstrates the new naming conventions in FlowKit v2, including the use of hyphens and underscores for modifiers and component relationships, and combo classes with specific prefixes. ```CSS /* Hyphens for modifiers and properties */ .component-modifier .component-property-value /* Underscores for component parts */ .main-class_component-part /* Combo classes with prefixes */ .is-active .on-hover .gap-medium /* Responsive combo classes */ .tablet-is-hidden .mobile-l-gap-large ``` -------------------------------- ### FlowKit Form Surface Modifiers Source: https://developers.webflow.com/flowkit/v2.0.0/components/forms This snippet demonstrates the use of surface modifiers in FlowKit for form elements. These are combo classes applied to elements to adjust contrast and accessibility, with examples for inverse and accent color variations. ```CSS checkbox_toggle on-inverse checkbox_toggle on-accent-primary checkbox_toggle on-accent-secondary checkbox_toggle on-accent-tertiary ``` -------------------------------- ### FlowKit Cards: Base and Link Classes Source: https://developers.webflow.com/flowkit/v2.0.0/components/cards Demonstrates the base class 'card' for standard cards and 'card-link' for interactive cards in the FlowKit CSS Framework. These are the foundational classes for card components. ```CSS .card .card-link ``` -------------------------------- ### CSS Position Utility Classes (Tablet) Source: https://developers.webflow.com/flowkit/v2.0.0/reference/utilities Provides classes for setting element positioning specifically for tablet viewports. Includes options for absolute, relative, and static positioning. ```CSS position_absolute_tablet position_relative_tablet position_static_tablet ``` -------------------------------- ### FlowKit Navigation Styling Source: https://developers.webflow.com/flowkit/v2.0.0/structure/page-structure Shows the base 'nav' class for navigation bars and its combo classes for adapting background and font colors. ```CSS .nav { /* Base navigation styling */ } .nav.is-accent-primary { /* Accent primary styling */ } .nav.is-accent-secondary { /* Accent secondary styling */ } .nav.is-accent-tertiary { /* Accent tertiary styling */ } .nav.is-inverse { /* Inverse styling */ } .nav.is-secondary { /* Secondary styling */ } ``` -------------------------------- ### FlowKit Section Variations and Padding Source: https://developers.webflow.com/flowkit/v2.0.0/structure/page-structure Demonstrates the use of the 'section' class for layout blocks and its variations for styling. It also shows utility classes for controlling vertical padding. ```CSS .section { /* Default structure and padding */ } .section.is-secondary { /* Secondary variation */ } .section.is-accent-primary { /* Accent primary variation */ } .section.is-accent-secondary { /* Accent secondary variation */ } .section.is-accent-tertiary { /* Accent tertiary variation */ } .section.is-inverse { /* Inverse variation */ } .padding_none { /* Removes top & bottom spacing */ } .padding-vertical_small { /* Sets vertical spacing to small */ } .padding-top_none { /* Fine-tuned vertical control */ } .padding-bottom_small { /* Fine-tuned vertical control */ } ``` -------------------------------- ### Image Styling with FlowKit Source: https://developers.webflow.com/flowkit/v2.0.0/components/images Demonstrates how to style images using FlowKit CSS classes for fitting behavior, aspect ratio, and rounded corners. It includes base classes like 'image' and 'image_cover', and aspect ratio modifiers such as 'ratio_1x1' and 'ratio_16x9'. ```html Image with 2:3 aspect ratio Default image Image with 1:1 aspect ratio on tablet ``` -------------------------------- ### FlowKit CSS Framework v2 Grid System Classes Source: https://developers.webflow.com/flowkit/v2.0.0/changelog This snippet outlines the basic grid classes and responsive column modifiers introduced in FlowKit v2. These classes enable the creation of flexible and responsive grid layouts. ```CSS .grid .grid-1-col .grid-2-col .grid-3-col .grid-4-col .grid-5-col .grid-6-col .grid-7-col .grid-8-col .grid-9-col .grid-10-col .grid-11-col .grid-12-col /* Responsive modifiers */ .tablet-grid-1-col .mobile-l-grid-2-col .mobile-grid-3-col ``` -------------------------------- ### Height and Min-Height Control with FlowKit Source: https://developers.webflow.com/flowkit/v2.0.0/reference/utilities Manages element height and minimum height behavior across various breakpoints, including viewport-based units. ```CSS /* Desktop */ .height_100percent { height: 100%; } .height_100dvh { height: 100dvh; } .min-height_100percent { min-height: 100%; } .min-height_100dvh { min-height: 100dvh; } .height_50vh { height: 50vh; } .height_100vh { height: 100vh; } /* Tablet */ .height_auto_tablet { height: auto; } .min-height_auto_tablet { min-height: auto; } ``` -------------------------------- ### FlowKit Spacing Variables (Size) Source: https://developers.webflow.com/flowkit/v2.0.0/foundation/spacing Defines foundational REM-based spacing variables for margins, paddings, and gaps. The 'x' denotes a multiplier of the base unit (1rem = 16px), ensuring consistent rhythm and layout behavior. ```CSS --spacing-0_25x: 0.25rem; --spacing-0_5x: 0.5rem; --spacing-0_75x: 0.75rem; --spacing-1x: 1rem; --spacing-1_25x: 1.25rem; --spacing-1_5x: 1.5rem; --spacing-1_75x: 1.75rem; --spacing-2x: 2rem; --spacing-3x: 3rem; --spacing-4x: 4rem; --spacing-5x: 5rem; --spacing-6x: 6rem; --spacing-7x: 7rem; --spacing-8x: 8rem; ``` -------------------------------- ### FlowKit CSS Variables Overview Source: https://developers.webflow.com/flowkit/v2.0.0/variables/overview Flowkit Framework utilizes variables to ensure consistent, scalable, and manageable design styling across Webflow sites. These variables act as design tokens, defining core values for colors, spacing, and typography, which are then reused in classes for efficient site-wide updates. ```CSS /* Flowkit Framework uses variables to ensure consistent, scalable, and easily manageable design styling across Webflow sites. Variables in Flowkit are like design tokens: they define core values (such as colors, spacing, or typography) and are reused throughout classes. */ /* If something needs to change — like a brand color or font size — you only update it in one place. */ /* Each variable has a meaningful, descriptive name following a structured naming convention. */ /* Categories: Colors | The foundational palette used across the system Sizes | Spacing, radius, sizing scales, and layout metrics Typography | Font families, base font sizes, and type styles */ ``` -------------------------------- ### FlowKit Button Class Naming Source: https://developers.webflow.com/flowkit/v2.0.0/components/buttons Demonstrates the class naming convention for FlowKit buttons, including base class, size, type, and surface modifiers for various background contexts. ```CSS /* Base button */ .button { /* ... */ } /* Size modifiers */ .button.is-small { /* ... */ } .button.is-large { /* ... */ } /* Type modifiers */ .button.is-secondary { /* ... */ } /* Surface modifiers: On Accent */ .button.on-accent-primary { /* ... */ } .button.is-secondary.on-accent-primary { /* ... */ } .button.on-accent-secondary { /* ... */ } .button.is-secondary.on-accent-secondary { /* ... */ } .button.on-accent-tertiary { /* ... */ } .button.is-secondary.on-accent-tertiary { /* ... */ } /* Surface modifiers: On Inverse */ .button.on-inverse { /* ... */ } .button.is-secondary.on-inverse { /* ... */ } ``` -------------------------------- ### FlowKit Container Width Variations Source: https://developers.webflow.com/flowkit/v2.0.0/structure/page-structure Illustrates the 'container' class for centering content and its combo classes for adjusting the maximum width of the content area. ```CSS .container { /* Default max width */ } .container.is-full-width { /* Stretches full width */ } .container.is-large { /* Larger max width */ } .container.is-small { /* Smaller max width */ } .padding-horizontal_none { /* Removes side padding */ } ``` -------------------------------- ### Accordion Component Structure Source: https://developers.webflow.com/flowkit/v2.0.0/components/accordion Defines the essential HTML structure and CSS classes for the Accordion component. It includes the main wrapper, the toggle button, and the collapsible content area, designed for use with Webflow's dropdown. ```html

Accordion content goes here...

``` ```css .accordion { /* Base styles for the accordion wrapper */ } .accordion_toggle { /* Styles for the button that toggles content */ cursor: pointer; } .accordion_content { /* Styles for the collapsible content area */ display: none; /* Initially hidden */ } ``` -------------------------------- ### Combo Classes: Component Modification Source: https://developers.webflow.com/flowkit/v2.0.0/getting-started/intro Combo classes act as modifiers for components, altering their appearance or behavior. They use specific prefixes like 'is-', 'on-', 'gap-', 'ix-', and device-specific prefixes, always following a main class. ```HTML Text Link
...
...
``` -------------------------------- ### CSS Position Utility Classes (Desktop) Source: https://developers.webflow.com/flowkit/v2.0.0/reference/utilities Defines classes for controlling element positioning on desktop. Supports relative, absolute, fixed, sticky positioning, and z-index adjustments. ```CSS position_relative position_absolute position_fixed position_fixed is-top position_fixed is-left position_fixed is-right position_sticky position_sticky is-top_large position_sticky is-desktop-only position_static z-index_1 ``` -------------------------------- ### CSS Display Utility Classes Source: https://developers.webflow.com/flowkit/v2.0.0/reference/utilities Classes to control element visibility and display behavior. Includes options for block, inline-block, none, and screen-reader-only visibility. ```CSS display_block display_inline-block display_none screen-reader ``` -------------------------------- ### FlowKit Footer Styling Source: https://developers.webflow.com/flowkit/v2.0.0/structure/page-structure Details the 'footer' class for the footer section and its combo classes for background color variations, along with specific link styling. ```CSS .footer { /* Base footer styling */ } .footer.is-secondary { /* Secondary styling */ } .footer.is-inverse { /* Inverse styling */ } .footer.is-accent-primary { /* Accent primary styling */ } .footer.is-accent-secondary { /* Accent secondary styling */ } .footer.is-accent-tertiary { /* Accent tertiary styling */ } .footer_link.on-inverse { /* Link styling on inverse footer */ } .footer_link.on-accent-primary { /* Link styling on accent-primary footer */ } ``` -------------------------------- ### CSS Position Utility Classes (Mobile) Source: https://developers.webflow.com/flowkit/v2.0.0/reference/utilities Offers classes for mobile-specific positioning behavior, primarily for sticky elements. ```CSS position_sticky_mobile ``` -------------------------------- ### FlowKit Responsive Modifiers: Underscore vs. Hyphen Source: https://developers.webflow.com/flowkit/v2.0.0/getting-started/intro Illustrates the distinction between underscore (`_`) and hyphen (`-`) in FlowKit's responsive utility classes. Underscores are for utility classes appearing only at a breakpoint, while hyphens are for combo class overrides. ```CSS /* Utility class scoped to mobile resolution */ .text-align_center_mobile { text-align: center; } /* Combo class overriding base style on mobile */ .text-align_center.mobile-align-left { /* Base: center, Mobile: left */ } ``` -------------------------------- ### CSS Padding Utility Classes Source: https://developers.webflow.com/flowkit/v2.0.0/reference/utilities Provides classes for managing the space inside an element. Includes options for vertical (top, bottom), horizontal (left, right), and padding around the element with a range of spacing values. ```CSS padding-top_small padding-right_xsmall padding_none padding_large ``` -------------------------------- ### FlowKit Cards: Body and Featured Elements Source: https://developers.webflow.com/flowkit/v2.0.0/components/cards Shows modifiers for controlling card body padding and highlighting cards. 'card_body' provides default padding, 'card_body_small' offers smaller padding, and 'is-featured' makes a card stand out. ```CSS .card_body .card_body_small .card.is-featured ``` -------------------------------- ### Spacing Variables and Utilities Source: https://developers.webflow.com/flowkit/v2.0.0/variables/typography Explains how default bottom spacing for headings and paragraphs is managed by variables, and how to override it using margin utility classes. ```CSS /* Spacing Variables */ .heading_h1, h1 { margin-bottom: var(--h1-margin-bottom); } p { margin-bottom: var(--base-margin-bottom); } /* Utility Class Example */ .margin-bottom_none { margin-bottom: 0; } ``` -------------------------------- ### FlowKit Text Link Class Naming Source: https://developers.webflow.com/flowkit/v2.0.0/components/buttons Details the class naming conventions for FlowKit text links, covering base class, size, type, and surface modifiers for various background scenarios. ```CSS /* Base text link */ .text-link { /* ... */ } /* Size modifiers */ .text-link.is-small { /* ... */ } /* Type modifiers */ .text-link.is-secondary { /* ... */ } /* Surface modifiers */ .text-link.on-inverse { /* ... */ } .text-link.on-accent-primary { /* ... */ } .text-link.on-accent-secondary { /* ... */ } .text-link.on-accent-tertiary { /* ... */ } ``` -------------------------------- ### FlowKit Page Structure Source: https://developers.webflow.com/flowkit/v2.0.0/structure/page-structure Defines the semantic HTML structure for a typical Webflow page using the FlowKit CSS Framework. It outlines the main tags and classes for body, navigation, sections, and containers. ```HTML
``` -------------------------------- ### FlowKit Text Button Class Naming Source: https://developers.webflow.com/flowkit/v2.0.0/components/buttons Illustrates the class naming for FlowKit text buttons, including base class, size, type, and surface modifiers for different background contexts. ```CSS /* Base text button */ .text-button { /* ... */ } /* Size modifiers */ .text-button.is-small { /* ... */ } /* Type modifiers */ .text-button.is-secondary { /* ... */ } /* Surface modifiers */ .text-button.on-inverse { /* ... */ } .text-button.on-accent-primary { /* ... */ } .text-button.on-accent-secondary { /* ... */ } .text-button.on-accent-tertiary { /* ... */ } ``` -------------------------------- ### Icon Styling with FlowKit Source: https://developers.webflow.com/flowkit/v2.0.0/components/images Explains how to style icons using FlowKit CSS classes for consistent sizing, alignment, and contextual styling. It covers size modifiers like 'is-small' and 'is-large', and surface modifiers such as 'on-inverse' and 'on-accent-primary'. ```html ``` -------------------------------- ### FlowKit Spacing Variables (Gap) Source: https://developers.webflow.com/flowkit/v2.0.0/foundation/spacing Provides t-shirt sizing for gap variables used in flex and grid layouts, ensuring consistent spacing across UI elements. ```CSS --gap-xsmall: var(--spacing-0_5x); --gap-small: var(--spacing-1x); --gap-medium: var(--spacing-2x); --gap-large: var(--spacing-3x); --gap-xlarge: var(--spacing-4x); --gap-xxlarge: var(--spacing-6x); ``` -------------------------------- ### Responsive Modifiers: Postfix for Breakpoints Source: https://developers.webflow.com/flowkit/v2.0.0/getting-started/intro Responsive modifiers apply styles at specific screen sizes using device-specific postfixes. These postfixes include '_tablet', '_mobile-l' (landscape), and '_mobile' (portrait) to control element behavior across different devices. ```CSS .width_100percent_tablet { width: 100%; @media (max-width: 1024px) { width: 100%; } } .text-align_center_mobile { text-align: center; @media (max-width: 767px) { text-align: center; } } ``` -------------------------------- ### Typography Variables Overview Source: https://developers.webflow.com/flowkit/v2.0.0/variables/typography This section outlines the base typography variables used in FlowKit for consistent text styling, including font family, size, weight, spacing, line height, and margin. ```CSS /* Base Typography Variables */ :root { --base-font-family: 'YourDefaultFont', sans-serif; --base-font-size: 1rem; --base-font-weight: 400; --base-letter-spacing: normal; --base-line-height: 1.5; --base-margin-bottom: 1em; } ``` -------------------------------- ### Apply Drop Shadows with FlowKit Source: https://developers.webflow.com/flowkit/v2.0.0/reference/utilities Adds subtle or strong depth to elements using predefined drop shadow utility classes. ```CSS .shadow_xxsmall { box-shadow: var(--shadow-xxsmall); } .shadow_xsmall { box-shadow: var(--shadow-xsmall); } .shadow_small { box-shadow: var(--shadow-small); } .shadow_medium { box-shadow: var(--shadow-medium); } .shadow_large { box-shadow: var(--shadow-large); } .shadow_xlarge { box-shadow: var(--shadow-xlarge); } .shadow_xxlarge { box-shadow: var(--shadow-xxlarge); } ``` -------------------------------- ### CSS Utility Class Naming Convention Source: https://developers.webflow.com/flowkit/v2.0.0/reference/utilities Utility classes in FlowKit follow a descriptive naming structure to clearly indicate their function. This applies to spacing utilities like margins and padding, using formats such as `margin-direction_value` or `padding-direction_value`. ```CSS margin-`direction`_`value` padding-`direction`_`value` ``` -------------------------------- ### Flex Wrap (CSS) Source: https://developers.webflow.com/flowkit/v2.0.0/structure/flex Enables flex items to wrap onto multiple lines if they exceed the container's width or height. Applied using the `flex_wrap` class. ```CSS .flex_horizontal.flex_wrap { flex-wrap: wrap; } ``` -------------------------------- ### Paragraph Text Sizes Source: https://developers.webflow.com/flowkit/v2.0.0/variables/typography Shows the different text size variations available for paragraphs and text elements in FlowKit, controlled by CSS variables. ```CSS /* Paragraph Text Sizes */ .text { font-size: var(--text-default-size); } .text.is-small { font-size: var(--text-small-size); } .text.is-large { font-size: var(--text-large-size); } .text.is-xlarge { font-size: var(--text-xlarge-size); } .text.is-xxlarge { font-size: var(--text-xxlarge-size); } ```