### Closest to Client-First Values Source: https://finsweet.com/client-first/docs/sizes-and-rem Displays a specific conversion for a small pixel value, useful for fine-tuning designs. This is an example of a value that might be considered a 'neighboring value' but is explicitly called out. ```plaintext 2px = 0.125rem ``` -------------------------------- ### Custom Unique Spacer Class Example Source: https://finsweet.com/client-first/docs/spacing-strategy Use a custom spacer class for managing unique spacings across the project. This is useful for elements that require specific, non-standard spacing. ```css .spacer-home-faq {} ``` -------------------------------- ### Custom Spacer Class Example Source: https://finsweet.com/client-first/docs/spacing-strategy Define custom spacer classes for managing unique or global element-specific spacings. This aids in organizing custom element spacing that needs to be kept global. ```css .spacer-header {} .spacer-sticky-nav {} .spacer-title-primary {} .spacer-title-subtitle {} .spacer-footer {} ``` -------------------------------- ### Spacing Block Strategy: _padding-bottom_ + _padding-[size]_ Source: https://finsweet.com/client-first/docs/spacing-strategy Use _padding-bottom_ combined with a _padding-[size]_ utility class on a Div Block to create vertical space. This two-class approach offers flexibility. ```html
``` -------------------------------- ### Apply Global Margin to Form Inputs Source: https://finsweet.com/client-first/docs/spacing-strategy Use a custom class to apply a consistent margin to all form inputs across the project. This allows for global control over spacing, enabling quick updates. ```CSS .form_input { margin-bottom: 1rem; } ``` -------------------------------- ### One-Off Custom Spacing for Elements Source: https://finsweet.com/client-first/docs/spacing-strategy Create a specific custom class for elements needing unique, one-off spacing that doesn't fit the standard utility system. Use sparingly to maintain global consistency. ```CSS .about_testimonial-title { margin-bottom: 2.25rem; } ``` -------------------------------- ### PX to REM Conversion Table Source: https://finsweet.com/client-first/docs/sizes-and-rem A reference table showing recommended REM values and their corresponding PX measurements. These values are suggested for consistency and ease of use in Client-First projects. ```plaintext 4px = 0.25rem 8px = 0.5rem 16px = 1rem 20px = 1.25rem 24px = 1.5rem 32px = 2rem 40px = 2.5rem 48px = 3rem 56px = 3.5rem 64px = 4rem 72px = 4.5rem 80px = 5rem 96px = 6rem 128px = 8rem 160px = 10rem 192px = 12rem 256px = 16rem 320px = 20rem 384px = 24rem 448px = 28rem 512px = 32rem 640px = 40rem 768px = 48rem 896px = 56rem 1024px = 64rem 1152px = 72rem 1280px = 80rem 1440px = 90rem 1536px = 96rem 1920px = 120rem 2560px = 160rem ``` -------------------------------- ### Spacing Wrapper Strategy: _margin/padding-[direction]_ + _margin/padding-[size]_ Source: https://finsweet.com/client-first/docs/spacing-strategy Apply _margin/padding-[direction]_ and _margin/padding-[size]_ utility classes to a Div Block that wraps a child element. This creates space between the wrapper and its siblings. ```html