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

Add a "class free" setup #9

Closed
wavebeem opened this issue Apr 16, 2020 · 0 comments · Fixed by #10
Closed

Add a "class free" setup #9

wavebeem opened this issue Apr 16, 2020 · 0 comments · Fixed by #10

Comments

@wavebeem
Copy link
Owner

When you control the markup, I prefer to add classes manually for styling. But sometimes (e.g. CMS, 3rd party site), you can't do this.

There should be an alternative way to style all (most?) things.

So instead of like:

<button class="bit-button">...</button>
<a class="bit-link" href="...">...</a>

You could do:

<div class="bit-auto">
  <button>...</button>
  <a href="...">...</a>
</div>

I think this could apply to most classes in 1bit-ui, but I would want to first make a list of classes and what semantic element they would correspond to.

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

Successfully merging a pull request may close this issue.

1 participant