Snippets Collections
/* To use REM units effectively, you'll want to make sure you reset your root font-size to 62.5% */

html {
     font-size: 62.5%;
}

/* MAX WIDTH UTILITY CLASSES */

.max-w--320 {
  width: 100%;
  max-width: 32rem;
}

.max-w--480 {
  width: 100%;
  max-width: 48rem;
}

.max-w--640 {
  width: 100%;
  max-width: 64rem;
}

.max-w--720 {
  width: 100%;
  max-width: 72rem;
}

.max-w--960 {
  width: 100%;
  max-width: 96rem;
}

.max-w--1120 {
  width: 100%;
  max-width: 112rem;
}

.max-w--full {
  width: 100%;
  max-width: 100%;
}
/* Owl Spacing */

.ct-section.owl-spacing--s .ct-section-inner-wrap > * + *,
.owl-spacing--s:not(.ct-section) > * + * {
margin-top: .5vmax;
}

.ct-section.owl-spacing--m .ct-section-inner-wrap > * + *,
.owl-spacing--m:not(.ct-section) > * + * {
margin-top: 1vmax;
}

.ct-section.owl-spacing--l .ct-section-inner-wrap > * + *,
.owl-spacing--l:not(.ct-section) > * + * {
margin-top: 2vmax;
}

.ct-section.owl-spacing--xl .ct-section-inner-wrap > * + *,
.owl-spacing--xl:not(.ct-section) > * + * {
margin-top: 4vmax;
}
star

Thu Feb 17 2022 08:12:35 GMT+0000 (Coordinated Universal Time) https://digitalambition.co/watch/add-these-max-width-utility-classes-to-every-oxygen-site/

#css #oxygenbuilder
star

Thu Feb 17 2022 07:46:57 GMT+0000 (Coordinated Universal Time) https://digitalambition.co/watch/perfectly-space-all-elements-in-oxygen-with-one-css-class-aka-owl-spacing/

#css #oxygenbuilder

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension