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

Button breaks when content added #10

Closed
timhuisman opened this issue Jan 27, 2013 · 0 comments
Closed

Button breaks when content added #10

timhuisman opened this issue Jan 27, 2013 · 0 comments
Labels

Comments

@timhuisman
Copy link
Owner

Adding content in the button will cause it to break: the icon and the :after layer are pushed down and start halfway the button, while the content is beneath the :before layer.

Possible solutions might be the use of overflow: hidden, position: absolute (instead of position: relative on the :before and :after layer) and text-indent: -9999px

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

No branches or pull requests

1 participant