mac81/pure-drawer

pure-container on the <body>

Closed this issue · 3 comments

Hi, thanks for this wonderful navigation, extremely useful.

Is there any reason I can't apply the pure-container class to the body of the page?

Thanks

Shouldn't be a problem applying pure-container to the body. Just make sure that you also include the data-effect attribute. Also because of the use of the general sibling selector the input, label, drawer and pure-pusher-container must be included directly inside the container.

Great, thanks. It seems to work so far. Yes I had a look in to understand how the drawer works, taught me about the sibling ~ selector - v clever:)

Thank you. Glad to be of help.