Skip to content
This repository has been archived by the owner on Apr 21, 2021. It is now read-only.

Use extend instead of mixin for clearfix #26

Closed
marekxhtml opened this issue Jun 17, 2014 · 1 comment
Closed

Use extend instead of mixin for clearfix #26

marekxhtml opened this issue Jun 17, 2014 · 1 comment

Comments

@marekxhtml
Copy link

I think that a better solution for a clearfix will be use @extend (@extend .clearfix) instead of @include mixin.

@piotrkulpinski
Copy link
Contributor

Yep, this way we avoid unnecessary code repetition :) Also we can use %placeholder {} to avoid storing .clearfix declaration in generated CSS code.

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

No branches or pull requests

2 participants