SHARE
TWEET

Untitled

a guest Mar 22nd, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @mixin breakpoint($class)
  2.     @if $class == el
  3.         @media (max-width: 1200px)
  4.             @content
  5.  
  6.     @else if $class == lg
  7.         @media (max-width: 992px)
  8.             @content
  9.  
  10.     @else if $class == md
  11.         @media (max-width: 768px)
  12.             @content
  13.  
  14.     @else if $class == sm
  15.         @media (max-width: 576px)
  16.             @content
  17.  
  18.     @else
  19.         @warn "Breakpoint mixin supports: el, lg, md, sm"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top