The
Lab

Test libraries, replacement codes, and more here.

Extend CSS

Typography

.larger

Increases font size to 120%.

Example

Larger text

.larger { font-size: 120%; }

.heading-lg

Increases font-size to 42px. Can be used on a paragraph or heading tags (h1-h6).

Example

Large heading

.heading-lg { font-size: 42px; }

.heading-xl

Increases font-size to 60px. Can be used on a paragraph or heading tags (h1-h6).

Example

Extra Large heading

.heading-xl { font-size: 60px; }
@media (max-width:991px) {
.heading-xl { font-size: 40px; }
}

.text-uppercase

Transforms text to uppercase.

Example

TEXT IN ALL CAPS

.text-capitalize

Capitalizes text.

Example

Capitalized Text Example

.text-capitalize { text-transform: capitalize; }

.text-white

Changes font color to white.

Example

White text here

White text Here

.text-white { color: #fff; }

.text-center

Centers text based on viewport breakpoint.

Extra extra small devices (max-width:539px) Extra small devices (max-width:767px) Small devices (max-width:991px) and (min-width:768px )
.text-center-xxs Centered Not Centered Not Centered
.text-center-xs Centered Centered Not Centered
.text-center-sm Not Centered Not Centered Centered

So, in order to center text on both tablet and phone, combine .text-center-sm .text-center-xs together.


Grid

Using a single set of .col-* combined with .span-* classes, you can create a basic grid system to create 5, 7, 8, 9 and 11 column designs which are not supported by Bootstrap.

.col-* (with gutters)

Examples of 5, 7, 8, 9 and 11 column designs with gutters.

.col-5 .span-1-5
.col-5 .span-1-5
.col-5 .span-1-5
.col-5 .span-1-5
.col-5 .span-1-5
.col-7 .span-1-7
.col-7 .span-1-7
.col-7 .span-1-7
.col-7 .span-1-7
.col-7 .span-1-7
.col-7 .span-1-7
.col-7 .span-1-7
.col-8 .span-1-8
.col-8 .span-1-8
.col-8 .span-1-8
.col-8 .span-1-8
.col-8 .span-1-8
.col-8 .span-1-8
.col-8 .span-1-8
.col-8 .span-1-8
.col-9 .span-1-9
.col-9 .span-1-9
.col-9 .span-1-9
.col-9 .span-1-9
.col-9 .span-1-9
.col-9 .span-1-9
.col-9 .span-1-9
.col-9 .span-1-9
.col-9 .span-1-9
.col-11 .span-1-11
.col-11 .span-1-11
.col-11 .span-1-11
.col-11 .span-1-11
.col-11 .span-1-11
.col-11 .span-1-11
.col-11 .span-1-11
.col-11 .span-1-11
.col-11 .span-1-11
.col-11 .span-1-11
.col-11 .span-1-11

.col-* (flush)

Examples of 5, 7, 8, 9 and 11 column designs without gutters.

.col-flush-5 .span-flush-1-5
.col-flush-5 .span-flush-1-5
.col-flush-5 .span-flush-1-5
.col-flush-5 .span-flush-1-5
.col-flush-5 .span-flush-1-5
.col-flush-7 .span-flush-1-7
.col-flush-7 .span-flush-1-7
.col-flush-7 .span-flush-1-7
.col-flush-7 .span-flush-1-7
.col-flush-7 .span-flush-1-7
.col-flush-7 .span-flush-1-7
.col-flush-7 .span-flush-1-7
.col-flush-8 .span-flush-1-8
.col-flush-8 .span-flush-1-8
.col-flush-8 .span-flush-1-8
.col-flush-8 .span-flush-1-8
.col-flush-8 .span-flush-1-8
.col-flush-8 .span-flush-1-8
.col-flush-8 .span-flush-1-8
.col-flush-8 .span-flush-1-8
.col-flush-9 .span-flush-1-9
.col-flush-9 .span-flush-1-9
.col-flush-9 .span-flush-1-9
.col-flush-9 .span-flush-1-9
.col-flush-9 .span-flush-1-9
.col-flush-9 .span-flush-1-9
.col-flush-9 .span-flush-1-9
.col-flush-9 .span-flush-1-9
.col-flush-9 .span-flush-1-9
.col-flush-11 .span-flush-1-11
.col-flush-11 .span-flush-1-11
.col-flush-11 .span-flush-1-11
.col-flush-11 .span-flush-1-11
.col-flush-11 .span-flush-1-11
.col-flush-11 .span-flush-1-11
.col-flush-11 .span-flush-1-11
.col-flush-11 .span-flush-1-11
.col-flush-11 .span-flush-1-11
.col-flush-11 .span-flush-1-11
.col-flush-11 .span-flush-1-11
.columnCount*

Divides content in a div into 2 or 3 columns.

NOTE: Only applies ABOVE 1200px.

.columnCount2

Example

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora.

.columnCount3

Example

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora.
@media (min-width:1200px) {
.columnCount2 {
-webkit-column-count: 2;
-moz-column-count: 2;
column-count: 2;
-webkit-column-gap: 30px;
-moz-column-gap: 30px;
column-gap: 30px;
}
.columnCount3 {
-webkit-column-count: 3;
-moz-column-count: 3;
column-count: 3;
-webkit-column-gap: 30px;
-moz-column-gap: 30px;
column-gap: 30px;
}
}

.section-pull

Pulls content to the edge of the container for offset columns.

NOTE: Only applies ABOVE 768px, to columns offset by 1, 2 or 3. Notice the div structure has been modified - column width and column offset do not live on the same level.

Images (offset-2)

150+ Point Inspection

Sed ut perspiciatis unde omnis iste natus error sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.

Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi smod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

<div class="col-sm-10">
<div class="col-sm-offset-2">
<div class="section-pull">...</div>
</div>
</div>

Blockquote (offset-3)

150+ Point Inspection

Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto i aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?

Every vehicle returned under the Exchange Privilege will be inspected for damage and excessive wear and tear. If non-warranty repairs equal to or greater than $300 have been performed or are necessary, the vehicle is not eligible to be returned.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

<div class="col-sm-9">
<div class="col-sm-offset-3">
<blockquote class="section-pull">...</blockquote>
</div>
</div>

Rows

Adding this class allows the row to flush with sides of container (on left and right). Original bootstrap class of "row" must also be used.

NOTE: Negative margin is only applied ABOVE 768px.

Example

This row extends to the edge of the container.

.row-full {margin-left: -30px; margin-right: -30px}
@media (max-width:767px) { .row-full { margin-left: -15px; margin-right: -15px}}
.gutter-*

Adding gutter classes allows for more precise control of column gutters. Original bootstrap class of "row" must also be used. Available classes are listed below:

.gutter-x
.gutter-1x
.gutter-2x

Example

3 columns with a small gutter set by gutter-1x class.

gutter-1x
gutter-1x
gutter-1x
.row-full & .gutter-*

Combining row-full and gutter-* classes allows to the row to flush with sides of container and gutter classes allow for gutter control. Original bootstrap class of "row" must also be used.

Example

3 columns flushed with container and a medium gutter set by gutter-2x class.

row-full & gutter-2x
row-full & gutter-2x
row-full & gutter-2x

Responsive Utilities

.hidden-xxs

Hides content below 539px

@media(max-width:539px) {
.hidden-xxs { display: none!important }
} 

.col-xxs-6 (max-width:539px)

Allows 2 column display on devices under 539px.

.col-xxs-6
.col-xxs-6

.col-xxs-12 (max-width:539px)

Allows 2 column layout on small devices, with a 1 column display on deviced under 539px.

.col-sm-6 .col-xxs-12

.visible-*-inline and .visible-*-inline-block

NOTE: Following was added only until we upgrade to Bootstrap 3.2.

Check out Bootstrap page for full documentation Click here to see full doc.

Group of classes CSS display
.visible-*-block display: block;
.visible-*-inline display: inline;
.visible-*-inline-block display: inline-block;

Responsive Embed

NOTE: Following was added only until we upgrade to Bootstrap 3.2.

Allow browsers to determine video dimensions based on the width of their containing block by creating an intrinsic ratio that will properly scale on any device.

Check out Bootstrap page for full documentation Click here to see full doc.

<!-- 16:9 aspect ratio -->
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="..."></iframe>
</div>
<!-- 4:3 aspect ratio -->
<div class="embed-responsive embed-responsive-4by3">
<iframe class="embed-responsive-item" src="..."></iframe>
</div>

Fast Loading Videos

Use this when you have to put many youtube videos on one page. This works by generating an image thumbnail with overlay play button without actually loading the video, which speeds up the page loading significantly.

All videos are loaded in 16x9 aspect ratio. In place of VIDEO-ID put only last part of actual video. For example, if video link is "https://www.youtube.com/watch?v=MYeM-8hO3hM" use only "MYeM-8hO3hM".

<!-- HTML -->
<div class="youtube-player embed-responsive embed-responsive-16by9" data-id="VIDEO-ID"></div>
<!-- Load this script in Body Section/Bottom -->
<script src="/assets/shared/js/fast-yt-videos.js"></script>

Flex

.flex-all

Applies basic flex property

.flex-all { display: flex; }

.flex-wrap

Allows items within a flex container to wrap to multiple rows if needed

.flex-wrap { flex-flow: row wrap; }

.flex-center-all

Center align items. Vertical centering by default, horizontal if using column direction.

I'm centered with buttons

.flex-center-all { display: flex; align-items: center; }

.flex-center-md

Adds flex and center alignment on 992px screen sizes and higher

@media (min-width: 992px) { .flex-center-md { display: flex; align-items: center; } }

.flex-center-sm

Adds flex and center alignment on 768px screen sizes and higher

@media (min-width: 768px) { .flex-center-sm { display: flex; align-items: center; } }

Lists

.list-vert-align

Vertically aligns all <li> elements in the middle. Should by applied to the <ul> or <ol>.

  • I'm centered with buttons
.list-vert-align>li { vertical-align: middle }

Forms

.form-xs-auto

Allows for inline display of form items on mobile devices.

.form-xs-auto { margin-bottom: -5px; }
.form-xs-auto .input-group {
display: inline-table;
vertical-align: middle;
margin-bottom: 5px;
}

Padding

Padding options include all sides, vertical, horizontal, and isolated to each direction (top, right, bottom, left). Padding sizes vary from .5em to 4em.

*pad_5x = .5em
*pad-1x = 1em
*pad-2x = 2em
*pad-3x = 3em
*pad-4x = 4em
*pad-x = no padding

Lists (padding)

NOTE: Class for list items should be placed on the UL or OL element, not the LI.

Padding on all sides, around each LI item.

.list-pad_5x .list-pad-1x .list-pad-2x .list-pad-3x .list-pad-4x

Example

List with 1em padding on each side of the list item (not ul). (.list-pad-1x)

  • Lorem ipsum dolor sit amet
  • Consectetur adipiscing elit

Vertical padding top & bottom

.list-pad-vert-x .list-pad-vert_5x .list-pad-vert-1x .list-pad-vert-2x .list-pad-vert-3x .list-pad-vert-4x 

Example

List with 1em padding on top and bottom of the list item (not ul). (.list-pad-vert-1x)

  • Lorem ipsum dolor sit amet
  • Consectetur adipiscing elit

Horizontal padding left & right

.list-pad-horz-x .list-pad-horz_5x .list-pad-horz-1x .list-pad-horz-2x .list-pad-horz-3x .list-pad-horz-4x 

Example

List with 1em padding on left and right of the list item (not ul). (.list-pad-horz-1x)

  • Lorem ipsum dolor sit amet
  • Consectetur adipiscing elit

Isolated padding top, bottom, left, or right

top
.list-pad-top-x
.list-pad-top_5x
.list-pad-top-1x
.list-pad-top-2x
.list-pad-top-3x
.list-pad-top-4x
bottom
.list-pad-bottom-x
.list-pad-bottom_5x
.list-pad-bottom-1x
.list-pad-bottom-2x
.list-pad-bottom-3x
.list-pad-bottom-4x
left
.list-pad-left-x
.list-pad-left_5x
.list-pad-left-1x
.list-pad-left-2x
.list-pad-left-3x
.list-pad-left-4x
right
.list-pad-right-x
.list-pad-right_5x
.list-pad-right-1x
.list-pad-right-2x
.list-pad-right-3x
.list-pad-right-4x

Example

List with 1em padding on top of the list item (not ul). (.list-pad-top-1x)

  • Lorem ipsum dolor sit amet
  • Consectetur adipiscing elit

All elements (padding)

Padding on all sides.

.pad_5x .pad-1x .pad-2x .pad-3x .pad-4x

Example

Item with 1em padding on each side of the item item. (.pad-1x)

Vertical padding top & bottom

.pad-vert-x .pad-vert_5x .pad-vert-1x .pad-vert-2x .pad-vert-3x .pad-vert-4x 

Example

Item with 1em padding on top and bottom of the item item. (.pad-vert-1x)

Horizontal padding left & right

.pad-horz-x .pad-horz_5x .pad-horz-1x .pad-horz-2x .pad-horz-3x .pad-horz-4x 

Example

Item with 1em padding on left and right of the item item. (.pad-horz-1x)

Isolated padding top, bottom, left, or right

top
.pad-top-x
.pad-top_5x
.pad-top-1x
.pad-top-2x
.pad-top-3x
.pad-top-4x
bottom
.pad-bottom-x
.pad-bottom_5x
.pad-bottom-1x
.pad-bottom-2x
.pad-bottom-3x
.pad-bottom-4x
left
.pad-left-x
.pad-left_5x
.pad-left-1x
.pad-left-2x
.pad-left-3x
.pad-left-4x
right
.pad-right-x
.pad-right_5x
.pad-right-1x
.pad-right-2x
.pad-right-3x
.pad-right-4x

Example

Item with 1em padding on top of the item. (.pad-top-1x)

.pad-x

.pad-x

Example

Removes all padding (.pad-x)


Margin

Margin options include all sides, vertical, horizontal, and isolated to each direction (top, right, bottom, left). Margin sizes vary from .5em to 4em.

*margin_5x = .5em
*margin-1x = 1em
*margin-2x = 2em
*margin-3x = 3em
*margin-4x = 4em
*margin-x = no margin

.margin-auto

Centers content within a section - best used to center images.

Example

.margin-auto { margin-left: auto; margin-right: auto}

Lists (margin)

NOTE: Class for list items should be placed on the UL or OL element, not the LI.

Margin on all sides, around each LI item.

.list-margin_5x .list-margin-1x .list-margin-2x .list-margin-3x .list-margin-4x

Example

List with 1em margin on each side of the list item (not ul). (.list-margin-1x)

  • Lorem ipsum dolor sit amet
  • Consectetur adipiscing elit

Vertical margin top & bottom

.list-margin-vert-x .list-margin-vert_5x .list-margin-vert-1x .list-margin-vert-2x .list-margin-vert-3x .list-margin-vert-4x 

Example

List with 1em margin on top and bottom of the list item (not ul). (.list-margin-vert-1x)

  • Lorem ipsum dolor sit amet
  • Consectetur adipiscing elit

Horizontal margin left & right

.list-margin-horz-x .list-margin-horz_5x .list-margin-horz-1x .list-margin-horz-2x .list-margin-horz-3x .list-margin-horz-4x 

Example

List with 1em margin on left and right of the list item (not ul). (.list-margin-horz-1x)

  • Lorem ipsum dolor sit amet
  • Consectetur adipiscing elit

Isolated margin top, bottom, left, or right

top
.list-margin-top-x
.list-margin-top_5x
.list-margin-top-1x
.list-margin-top-2x
.list-margin-top-3x
.list-margin-top-4x
bottom
.list-margin-bottom-x
.list-margin-bottom_5x
.list-margin-bottom-1x
.list-margin-bottom-2x
.list-margin-bottom-3x
.list-margin-bottom-4x
left
.list-margin-left-x
.list-margin-left_5x
.list-margin-left-1x
.list-margin-left-2x
.list-margin-left-3x
.list-margin-left-4x
right
.list-margin-right-x
.list-margin-right_5x
.list-margin-right-1x
.list-margin-right-2x
.list-margin-right-3x
.list-margin-right-4x

Example

List with 1em margin on top of the list item (not ul). (.list-margin-top-1x)

  • Lorem ipsum dolor sit amet
  • Consectetur adipiscing elit

All elements (margin)

Margin on all sides.

.margin_5x .margin-1x .margin-2x .margin-3x .margin-4x

Example

Item with 1em margin on each side of the item item. (.margin-1x)

Vertical margin top & bottom

.margin-vert-x .margin-vert_5x .margin-vert-1x .margin-vert-2x .margin-vert-3x .margin-vert-4x 

Example

Item with 1em margin on top and bottom of the item item. (.margin-vert-1x)

Horizontal margin left & right

.margin-horz-x .margin-horz_5x .margin-horz-1x .margin-horz-2x .margin-horz-3x .margin-horz-4x 

Example

Item with 1em margin on left and right of the item item. (.margin-horz-1x)

Isolated margin top, bottom, left, or right

top
.margin-top-x
.margin-top_5x
.margin-top-1x
.margin-top-2x
.margin-top-3x
.margin-top-4x
bottom
.margin-bottom-x
.margin-bottom_5x
.margin-bottom-1x
.margin-bottom-2x
.margin-bottom-3x
.margin-bottom-4x
left
.margin-left-x
.margin-left_5x
.margin-left-1x
.margin-left-2x
.margin-left-3x
.margin-left-4x
right
.margin-right-x
.margin-right_5x
.margin-right-1x
.margin-right-2x
.margin-right-3x
.margin-right-4x

Example

Item with 1em margin on top of the item. (.margin-top-1x)

.margin-x

.margin-x

Example

Removes all margin (.margin-x)


Social Media

.contentSocial a i {
color: #fff;
background: #000;
width: 50px;
height: 50px;
border-radius: 50%;
font-size: 22px;
text-align: center;
padding: 17px 0 0;
}
.contentSocial ul li {
padding: 10px 10px;
}
.fb a i {
background: #3b5997;
}
.tw a i {
background: #41b7d8;
}
.yt a i {
background: #cc181e;
}
.gp a i {
background: #d64937;
}
.ig a i {
background: #f74600;
}

Buttons

Block Button Alignment

Block buttons with text aligned to the right or left. Must be used with default .btn class.

.btn-block-left {
text-align: left;
width: 100%;
} .btn-block-right {
direction: rtl;
text-align: right;
width: 100%;
}

Pulse Button

Example

.btn-pulse {
box-shadow: 0 0 0 0 #dd0000;
-webkit-animation: pulse 2s infinite cubic-bezier(0.3, 0, 0, 1);
-moz-animation: pulse 2s infinite cubic-bezier(0.3, 0, 0, 1);
-ms-animation: pulse 2s infinite cubic-bezier(0.3, 0, 0, 1);
animation: pulse 2s infinite cubic-bezier(0.3, 0, 0, 1);
}
@-webkit-keyframes pulse {
to {
box-shadow: 0 0 0 10px rgba(221, 0, 0, 0);
}
}
@-moz-keyframes pulse {
to {
box-shadow: 0 0 0 10px rgba(221, 0, 0, 0);
}
}
@-ms-keyframes pulse {
to {
box-shadow: 0 0 0 10px rgba(221, 0, 0, 0);
}
}
@keyframes pulse {
to {
box-shadow: 0 0 0 10px rgba(221, 0, 0, 0);
}
} 

Opacity

Example

Utilize the .opacity class to add a hover effect to any element.

Here is a well with the opacity class.

.opacity:hover { opacity: 0.9; }

Faux Parallax

.fixedBgSec

Adding the class to a full width section, and combining it with a background image will create a faul prallax effect.

jQuery Code

jQuery('.contentSection').addClass('fixedBgSec');

CSS Code

Background color must be added to the section.

.contentSection { background-image: url("/static/dealer-16606/images/name.jpg"); background-color:#000;}

Fixed Header

.fixedHeaderArea

Adding the class to the header section will result in a fixed site header.

jQuery code (must be added in CMS)

jQuery('.headerWrapper').addClass('fixedHeaderArea');

CSS code in extend.css

Following CSS resides in extend.css

@media(min-width:992px) {
.fixedHeaderArea {
left: 0;
position: fixed;
right: 0;
z-index: 1030;
}
}

CSS code per style (to adjust the height of header)

Height might need to be further adjusted per dealer (depending on header height).

@media(min-width:992px) {
.fixedHeaderArea {
background: #fff;
}
.fixedHeaderArea ~ #content { padding-top: 180px; }
}

CSS code to be adjusted per dealer (if needed)

Height might need to be further adjusted per dealer (note per dealer height is different from above style height).

@media(min-width:992px) {
.fixedHeaderArea ~ #content { padding-top: 187px; }
}

Responsive Background Images

.img-background

Adding this class to an empty img tag will result in filler space being created in which the image will live. Best for non-transparent images.

NOTE: Padding amount will require adjusting per dealer.
Formula to obtain perfect padding is (HEIGHT / WIDTH * 100).
eg. (160px / 390px) * 100 = 41. USE 41% instead of default 55%

.img-background {
background-position: 50% 50%;
background-repeat: no-repeat;
padding-top: 55%;}

.img-cover (.img-background.img-cover)

Use this class in conjunction with above .img-background class. Best for transparent images with white space around the object eg. model bar images.

NOTE: Padding amount may require adjusting per dealer.

.img-background.img-cover { background-size: cover; }

.img-contain (.img-background.img-contain)

Use this class in conjunction with above .img-background class. Best for transparent images eg. logos/icons.

NOTE: Padding amount may require adjusting per dealer.

.img-background.img-contain { background-size: contain; }