Skip to content

Instantly share code, notes, and snippets.

@skylerto
Created January 9, 2017 21:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skylerto/af89cde4950e99288597ba67009b780e to your computer and use it in GitHub Desktop.
Save skylerto/af89cde4950e99288597ba67009b780e to your computer and use it in GitHub Desktop.
<div class="container ... ">
<div class="
component ... ${properties.step < 1 ? 'inactive' : ''}
${properties.step === 1 ? 'active' : ''}
${properties.step > 1 ? 'completed' : ''}
">
STEP 1
</div>
<div class="
component ... ${properties.step < 2 ? 'inactive' : ''}
${properties.step === 2 ? 'active' : ''}
${properties.step > 2 ? 'completed' : ''}
">
STEP 2
</div>
<div class="
component ... ${properties.step < 3 ? 'inactive' : ''}
${properties.step === 3 ? 'active' : ''}
${properties.step > 3 ? 'completed' : ''}
">
STEP 3
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment