Skip to content
This repository was archived by the owner on Sep 17, 2020. It is now read-only.
This repository was archived by the owner on Sep 17, 2020. It is now read-only.

Responsive Variants? #2

@ryanscherler

Description

@ryanscherler

Hi Mark,

Thanks so much for this plugin - its awesome! I was wondering if we could have a config to allow responsive variants?

Here is my use case:

I am combining this plugin with the awesome Grid plugin. Initially I want to use the Lobotomized Owl technique to have structured component spacing on mobile 'cards'. Then I want to turn off this class for when the cards have the grid applied to them at the medium breakpoint. See the following markup for the idea I am looking to implement:

<div class="max-w-3xl mx-auto o-2 md:o-0 md:grid md:grid-columns-3 md:grid-gap-2">
  <div class="card">....</div>
  <div class="card">....</div>
  <div class="card">....</div>
</div>

Again, thanks so much for your plugin, I am already applying it all over my projects!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions