Styling: ResponsiveGrid
        Oracle® JavaScript Extension Toolkit (JET)
            19.0.0
        G25385-01
Description
Responsive Grid Style classes
- 
        .deprecated-col-default-width
- 
      
        Deprecated class meant to help transition to the current responsive gridDeprecated:Since Description 3.0.0use the new responsive grid classes. 
- 
        Category: Number of Columns by screen size
- 
      
        Set the number of grid columns, with a maximum of 12. Start by coding for small screens, then customize for larger screens as necessary. Here are some examples:- oj-sm-6works on all screen sizes
- oj-lg-3works on large and extra-large screens. It has no effect on small and medium screens.
- oj-sm-6and- oj-lg-3on the same column will be 6 columns wide on small and medium screens and 3 columns wide on large and extra-large screens.
 Class template:- 
          .oj-[size]-[1-12]Note: Square brackets signify required token substitutions whereas parentheses signify optional token substitutions. 
- 
          Values for[size]Value (required) Name Description smSmall Small screen size range mdMedium Medium screen size range lgLarge Large screen size range xlX-Large Extra large screen size and up Values for[1-12]Value (required) Name Description 11 column 1 column wide 22 columns 2 columns wide 33 columns 3 columns wide 44 columns 4 columns wide 55 columns 5 columns wide 66 columns 6 columns wide 77 columns 7 columns wide 88 columns 8 columns wide 99 columns 9 columns wide 1010 columns 10 columns wide 1111 columns 11 columns wide 1212 columns 12 columns wide 
 
 Example<div class="oj-flex"> <div class="oj-flex-item oj-sm-6 oj-md-9">col 1</div> <div class="oj-flex-item oj-sm-6 oj-md-3">col 2</div> </div>
- 
        Category: Number of Columns in 4 column layout by screen size
- 
      
        Use in a 4-column layout. In this layout, you must use both the odd-cols class to control the width of odd-numbered columns and the even-cols class to control the width of the even columns. For example, setting oj-md-odd-cols-2 and oj-md-even-cols-4 on the flex parent has the effect of setting the first and third column widths to 2, and the second and fourth column widths to 4 on a medium and up screen. In Redwood these classes use the !important rule.Class template:- 
          .oj-[size]-even-cols-[1-5]Note: Square brackets signify required token substitutions whereas parentheses signify optional token substitutions. 
- 
          Values for[size]Value (required) Name Description smSmall Small screen size range mdMedium Medium screen size range lgLarge Large screen size range xlX-Large Extra large screen size and up Values for[1-5]Value (required) Name Description 11 column 1 column wide 22 columns 2 columns wide 33 columns 3 columns wide 44 columns 4 columns wide 55 columns 5 columns wide 
 
 Example<div class="oj-md-odd-cols-2 oj-md-even-cols-4"> <div class="oj-flex"> <div class="oj-flex-item">col 1</div> <div class="oj-flex-item">col 2</div> <div class="oj-flex-item">col 3</div> <div class="oj-flex-item">col 4</div> </div> </div>
- 
          
- 
        Category: Number of Columns in 2 column layout by screen size
- 
      
        Use this in a 2-column layout. Instead of putting sizing classes on every child, you can put a single class on the flex parent. The number of columns specifies how many of the 12 columns the odd-numbered columns can use. In a 2-column layout, the even-numbered columns will take up the remainder of the columns. For example, setting oj-md-odd-cols-4 on the flex parent will have the effect of setting the odd column (col1) width to 4 and the even column (col2) width to 8 for all rows in the grid on a medium and up screen. In Redwood these classes use the !important rule.Class template:- 
          .oj-[size]-odd-cols-[1-12]Note: Square brackets signify required token substitutions whereas parentheses signify optional token substitutions. 
- 
          Values for[size]Value (required) Name Description smSmall Small screen size range mdMedium Medium screen size range lgLarge Large screen size range xlX-Large Extra large screen size and up Values for[1-12]Value (required) Name Description 11 column 1 column wide 22 columns 2 columns wide 33 columns 3 columns wide 44 columns 4 columns wide 55 columns 5 columns wide 66 columns 6 columns wide 77 columns 7 columns wide 88 columns 8 columns wide 99 columns 9 columns wide 1010 columns 10 columns wide 1111 columns 11 columns wide 1212 columns 12 columns wide 
 
 Example<div class="oj-md-odd-cols-4"> <div class="oj-flex"> <div class="oj-flex-item">col 1</div> <div class="oj-flex-item">col 2</div> </div> </div>
-