Skip to content

Added un-push capability

Compare
Choose a tag to compare
@lucasgruwez lucasgruwez released this 16 Jun 10:13
· 17 commits to master since this release

@tienpham241 reached out to me asking how to un-push elements on smaller devices, and I realised that I totally forgot that feature! 😱

https://twitter.com/tienpham241/status/868529708786266112

So here you go:

use bp-un-push to remove push on a device with a width smaller than the bp.

Example:
<div class="grid">
  <div class="row">
    <div class="col col-5-of-12 push-2-of-12 m-un-push s-push-1-of-4">
      /* This div will be pushed 2 of 12 on desktop, not pushed on medium, and 1 of 4 on small devices */
    </div>
  </div>
</div>