Duplicate Style... Please!

Hello @callmevlad , and thank you for your reply.

  1. It would duplicate:
  • Its states (:hover, :active, etc.)
  • Its media query variation (desktop tablet, phone)
  1. Nested Classes:
    If the style I’m duplicating has nested classes, it would ask me whether I want to also duplicate its nested classes or not (in a dialogue box, that would let me choose which nested classes I want to duplicate and I guess also rename, with tick boxes to enable multiple choice)… If that’s too complicated and you think there’s no use to it, then it’s up to your logic. I’m not using nested class that much (only twice so far with webflow)… So I’m not the best advice for this choice.

  2. Different Name :
    Yes, of course it would ask me to set a different name (and if I try to rename it the same as the one I’m duplicating, it would tell me : “This style name already exists. Please choose another name”.

  3. For instance, on www.ateliersainthonore.com, I created pop-up boxes (Contact, Address, Legal Mentions). Most of these popups looked very much alike, but I needed to call them differently, so I needed to duplicate style. Why ? Because when I call them with the popup script, I call them thanks to their class name. So I need a specific class name for each popup box.

I hope I was clear enough.

1 Like