Skip to content

Instantly share code, notes, and snippets.

@dcavins
Created February 21, 2017 16:20
Show Gist options
  • Save dcavins/dcee14645a8ebdc22e6a0cff1552c75d to your computer and use it in GitHub Desktop.
Save dcavins/dcee14645a8ebdc22e6a0cff1552c75d to your computer and use it in GitHub Desktop.
Example of toggled content structure on Community Commons
<div class="toggle-container toggle-closed">
<span class="arrow"></span><a href="https://www.communitycommons.org/cchelp/how-do-i-add-a-picture-to-my-member-profile/" class="toggle-trigger">This is probably the most common example of a toggle.</a>
<div class="toggle-content border-left">
<p>It includes the arrow toggle-state indicator and the content block gets the nice little left border and indent.</p>
<p>&hellip;</p>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment