Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Multiple css properties output on a single color? #72

Closed
giathinh910 opened this issue Mar 12, 2015 · 2 comments
Closed

Multiple css properties output on a single color? #72

giathinh910 opened this issue Mar 12, 2015 · 2 comments

Comments

@giathinh910
Copy link

Firstly, thank for your great product.
I 'd like to ask that can we generate multiple css properties on a single color declaration. For example, for a color, can I generate color and background-color css output.

@briancwelch
Copy link
Contributor

Kirki now supports multiple output elements, all you have to do now is define them in an array, like so:

'output' => array(
                    array(
                        'element'  => '.element',
                        'property' => 'color',
                    ),
                    array(
                        'element'  => '.element',
                        'property' => 'background-color',
                    ),

@giathinh910
Copy link
Author

Thank you so much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants