Jarvis WordPress Theme Styleguide

5 #Mixins Mixins

Mixins allow reusable code. I often use them for repeatable styles.

Source: assets/sass/style.scss, line 5

5.1 #Mixins.clear Clearfix

Clear an element so that floated elements don't overflow the content.

Source: assets/sass/lib/mixins/_clear.scss, line 1

5.2 #Mixins.transition Transition

Add a transition to something. This automatically hides the transition from mobile devices.

Parameters:
  • $transition
    the transition to apply.
Source: assets/sass/lib/mixins/_easing.scss, line 1