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

Proposal for a 2.0.0 selector naming scheme #19

Open
jbranchaud opened this issue Feb 16, 2014 · 0 comments
Open

Proposal for a 2.0.0 selector naming scheme #19

jbranchaud opened this issue Feb 16, 2014 · 0 comments

Comments

@jbranchaud
Copy link
Owner

I am thinking about using cap as a prefix to avoid conflicts with other css and then the following set of options:

  • cap-bottom - caption positioned inside the image at the bottom
  • cap-top - caption positioned inside the image at the top
  • cap-under - caption positioned outside the image, right under it
  • cap-above - caption positioned outside the image, right above it
  • cap-over - caption overlayed on the entire image

This covers existing options (embed, embed-top, overlay) and also gives two more options that avoid obscuring the image by placing it above or under the image.

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

No branches or pull requests

1 participant