Invision UI v.19.6.0-0

Getting Started

  • Running Invision UI
  • UI Component Anatomy
  • Authoring SCSS
  • Authoring Presentational Behavior

Component Foundations

  • SCSS Authoring
    • Mixins & Variables
    • Stateful Classes
  • State Guidance
    • Empty/Zero State
    • Loading State
  • Utilities
    • Align
    • Display
    • Flexbox
    • Font Size
    • Layout
    • Offset
    • Position
    • Overflow
    • Size
    • Spacing
    • Text
  • Layout
    • Arrange [Deprectated]
    • Divided Columns
    • Embed Video
    • Full and Center
    • Fill [Deprectated]
    • Grid
    • Media Blocks
    • Panels
    • Vertical Layouts
  • Media Queries
  • Angular Behaviors
    • App Theme Directive
    • Auto Focus Input
    • Filters
    • Popup (modal dialog) Manager
    • Tether (tooltip/dropdown) Manager
    • Resize Sensor
    • Watchers

UI Component Library

  • Content & Containment
    • Active Translation
    • Auto Fit Text
    • Address
    • Basic & Input Table
    • Brand Logo/Slogan
    • Call to Action - Empty State
    • Carousel
    • Cart
    • Choice
    • Collapsible Container
    • Copyright Footer
    • Coupon Redeemer
    • Content
    • Date Relative Display
    • Definition Lists
    • Delimited List
    • Details
    • Expiration Date Display
    • Feature Toggle
    • Form Section Heading
    • Header
    • Heading
    • Heading With Annotation
    • Icons
    • Interaction Details
    • Labeled Balance
    • Link
    • Main Container
    • Metadata Card
    • Metadata List Item
    • Offering QuickView
    • Payment Instrument
    • Preference Dialog
    • Pricing Plan Decoration
    • Product Availability
    • Product Details
    • Product Image
    • Quick Info Panel
    • Remark
    • Renewal Column
    • Richlist Filterbar
    • Richlist Wrapper
    • Scrollable Horizontal List
    • Search Card
    • Search Panel
    • Section
    • Selectable Option
    • Smart Truncate
    • Status Grid
    • Tooltip
  • Data Visualizations
    • Bill Runs
    • Comparison Table
    • Datatable
    • Progress Tracker
    • Schedules
    • Query Builder
  • Dialogs
    • Confirmation Dialog
    • Dialog
    • Rich List Dialog
    • Wait Dialog
  • Forms and Filters
    • Additional Properties
    • Autocomplete
    • 3 Field Date Input
    • Checkbox
    • Credit Card
    • Bulk Action Bar
    • Buttons
    • Confirmation Button
    • Date Picker
    • E-Check
    • Entity Specification
    • External Bill
    • External Gift Card
    • Focus Group
    • Forms
    • Filter Bar
    • Filter Dropdowns
    • Gift Card
    • Grouped Check Filters
    • Inputs
    • Input Select Combo
    • Monetary Input
    • Multi Dropdown Selector
    • Multiple Numeric Input
    • Monetary Range Input
    • Password Unmask Button
    • Select
    • Select Button Or Stepper
    • Select Or Text Input
    • Stepper
    • Tag Dropdown
  • Navigation & Flow
    • Back Banner
    • Back Component
    • Breadcrumbs
    • Details Pager
    • Expandable Section
    • Infinite Scroll
    • Open New Window
    • Pager
    • Fancy Richlist
    • Standard Navigator
    • Status Indicator
    • Step Progress Bar
    • Step Progress Indicator
    • Tab Card
    • Tab Panel
    • Tier Navigator
    • Wizard
  • Notifications
    • Loading Indicator
    • Toast Notifications
  • Deprecated
    • Content Area

Showcase

  • General
    • Simplelist
    • Richlist
    • Primary (side) Navigator
  • Customer Care
    • Case Activity List
    • Customer Care Navigator Component
    • Dashboard
    • Decisions
  • Reporting
    • Content Visualization

Unit Testing

  • Actions
  • Components
  • Selectors
  • Reducers

End-to-end Testing

Statistics

Offset

In this section

Variants
  • Offset Utilities
  • Offset Utilities - After
  • Offset Utilities - Before
  • Offset Utilities - Offset with Media Query breakpoints.

Offset Utilities

Utilities for offset.

HTML
<style>
  .test-Box {
    background: #649632;
    margin-bottom: 10px;
  }
</style>

Offset Utilities - After

Utilities for offsetting after an element.

1of2
1of3
2of3
1of4
2of4
3of4
1of6
2of6
3of6
4of6
5of6
1of8
2of8
3of8
4of8
5of8
6of8
7of8
1of10
2of10
3of10
4of10
5of10
6of10
7of10
8of10
9of10
1of12
2of12
3of12
4of12
5of12
6of12
7of12
8of12
9of12
10of12
11of12
HTML
<div>
  <div class="u-after1of2 test-Box">1of2</div>
</div>
<div>
  <div class="u-after1of3 test-Box">1of3</div>
  <div class="u-after2of3 test-Box">2of3</div>
</div>
<div>
  <div class="u-after1of4 test-Box">1of4</div>
  <div class="u-after2of4 test-Box">2of4</div>
  <div class="u-after3of4 test-Box">3of4</div>
</div>
<div>
  <div class="u-after1of6 test-Box">1of6</div>
  <div class="u-after2of6 test-Box">2of6</div>
  <div class="u-after3of6 test-Box">3of6</div>
  <div class="u-after4of6 test-Box">4of6</div>
  <div class="u-after5of6 test-Box">5of6</div>
</div>
<div>
  <div class="u-after1of8 test-Box">1of8</div>
  <div class="u-after2of8 test-Box">2of8</div>
  <div class="u-after3of8 test-Box">3of8</div>
  <div class="u-after4of8 test-Box">4of8</div>
  <div class="u-after5of8 test-Box">5of8</div>
  <div class="u-after6of8 test-Box">6of8</div>
  <div class="u-after7of8 test-Box">7of8</div>
</div>
<div>
  <div class="u-after1of10 test-Box">1of10</div>
  <div class="u-after2of10 test-Box">2of10</div>
  <div class="u-after3of10 test-Box">3of10</div>
  <div class="u-after4of10 test-Box">4of10</div>
  <div class="u-after5of10 test-Box">5of10</div>
  <div class="u-after6of10 test-Box">6of10</div>
  <div class="u-after7of10 test-Box">7of10</div>
  <div class="u-after8of10 test-Box">8of10</div>
  <div class="u-after9of10 test-Box">9of10</div>
</div>
<div>
  <div class="u-after1of12 test-Box">1of12</div>
  <div class="u-after2of12 test-Box">2of12</div>
  <div class="u-after3of12 test-Box">3of12</div>
  <div class="u-after4of12 test-Box">4of12</div>
  <div class="u-after5of12 test-Box">5of12</div>
  <div class="u-after6of12 test-Box">6of12</div>
  <div class="u-after7of12 test-Box">7of12</div>
  <div class="u-after8of12 test-Box">8of12</div>
  <div class="u-after9of12 test-Box">9of12</div>
  <div class="u-after10of12 test-Box">10of12</div>
  <div class="u-after11of12 test-Box">11of12</div>
</div>

Offset Utilities - Before

Utilities for offsetting before an element.

1of2
1of3
2of3
1of4
2of4
3of4
1of6
2of6
3of6
4of6
5of6
1of8
2of8
3of8
4of8
5of8
6of8
7of8
1of10
2of10
3of10
4of10
5of10
6of10
7of10
8of10
9of10
1of12
2of12
3of12
4of12
5of12
6of12
7of12
8of12
9of12
10of12
11of12
HTML
<div>
  <div class="u-before1of2 test-Box">1of2</div>
</div>
<div>
  <div class="u-before1of3 test-Box">1of3</div>
  <div class="u-before2of3 test-Box">2of3</div>
</div>
<div>
  <div class="u-before1of4 test-Box">1of4</div>
  <div class="u-before2of4 test-Box">2of4</div>
  <div class="u-before3of4 test-Box">3of4</div>
</div>
<div>
  <div class="u-before1of6 test-Box">1of6</div>
  <div class="u-before2of6 test-Box">2of6</div>
  <div class="u-before3of6 test-Box">3of6</div>
  <div class="u-before4of6 test-Box">4of6</div>
  <div class="u-before5of6 test-Box">5of6</div>
</div>
<div>
  <div class="u-before1of8 test-Box">1of8</div>
  <div class="u-before2of8 test-Box">2of8</div>
  <div class="u-before3of8 test-Box">3of8</div>
  <div class="u-before4of8 test-Box">4of8</div>
  <div class="u-before5of8 test-Box">5of8</div>
  <div class="u-before6of8 test-Box">6of8</div>
  <div class="u-before7of8 test-Box">7of8</div>
</div>
<div>
  <div class="u-before1of10 test-Box">1of10</div>
  <div class="u-before2of10 test-Box">2of10</div>
  <div class="u-before3of10 test-Box">3of10</div>
  <div class="u-before4of10 test-Box">4of10</div>
  <div class="u-before5of10 test-Box">5of10</div>
  <div class="u-before6of10 test-Box">6of10</div>
  <div class="u-before7of10 test-Box">7of10</div>
  <div class="u-before8of10 test-Box">8of10</div>
  <div class="u-before9of10 test-Box">9of10</div>
</div>
<div>
  <div class="u-before1of12 test-Box">1of12</div>
  <div class="u-before2of12 test-Box">2of12</div>
  <div class="u-before3of12 test-Box">3of12</div>
  <div class="u-before4of12 test-Box">4of12</div>
  <div class="u-before5of12 test-Box">5of12</div>
  <div class="u-before6of12 test-Box">6of12</div>
  <div class="u-before7of12 test-Box">7of12</div>
  <div class="u-before8of12 test-Box">8of12</div>
  <div class="u-before9of12 test-Box">9of12</div>
  <div class="u-before10of12 test-Box">10of12</div>
  <div class="u-before11of12 test-Box">11of12</div>
</div>

Offset Utilities - Offset with Media Query breakpoints.

Utilities can be limited to specific Media Query breakpoints. Often used in combination for different offsets at breakpoints (note: the media queries must be configured on, or these examples will not show offset).

1of3 above lap breakpoint
1of4 above desk breakpoint
1of5 above desk wide breakpoint
HTML
<div>
  <div class="u-lap-before1of3 test-Box">1of3 above lap breakpoint</div>
  <div class="u-desk-before1of4 test-Box">1of4 above desk breakpoint</div>
  <div class="u-desk-wide-before1of5 test-Box">1of5 above desk wide breakpoint</div>
</div>