Skip to content

Instantly share code, notes, and snippets.

@royts
Last active August 29, 2015 13:57
Show Gist options
  • Save royts/9347261 to your computer and use it in GitHub Desktop.
Save royts/9347261 to your computer and use it in GitHub Desktop.
CSS:
======
<div class="kpi-boxes">
<div class="kpi-box kpi-first">
</div>
<div class="kpi-box">
</div>
<div class="kpi-box kpi-last">
</div>
</div>
Directive:
===========
<div kpi-boxes-publisher="{
boxs: [
{ amount: 3, suffix: '%', prefix: '', name 'CTR' }
{ amount: 3, suffix: '', prefix: '$', name 'RPM' }
{ amount: 3, suffix: '', prefix: '$', name 'Revenue' }
] }"></div>
-3- basic options:
==================
1. vanila css
2. directive (with bootstrap)
3. sass encapsulation
Questions:
===========
- lib vs. spec
- organic/paid under revenue
- repository
- documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment