Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add less or sass support #15

Open
koutoftimer opened this issue Oct 23, 2015 · 0 comments
Open

Add less or sass support #15

koutoftimer opened this issue Oct 23, 2015 · 0 comments

Comments

@koutoftimer
Copy link

This is required for DRY principle, as each tray should be able to contain more than single egg, and for generating set of possible values of data-egg-<tray number>="<eggs positions>" is it better to use less/sass.
To support any number of eggs for each tray, there should be following set of data attributes, where egg's positions sorted in ascending order.

data-egg-1="1"
data-egg-1="2"
...
data-egg-1="5"
data-egg-1="1,2"
data-egg-1="1,3"
data-egg-1="1,4"
data-egg-1="1,5"
data-egg-1="2,3"
data-egg-1="2,4"
...
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant