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

Badly needs a property reference #187

Open
fresheneesz opened this issue May 27, 2015 · 3 comments
Open

Badly needs a property reference #187

fresheneesz opened this issue May 27, 2015 · 3 comments

Comments

@fresheneesz
Copy link

I would love to be able to try this out and play around with it, but without a reference of what properties I can use and what they do, playing around with it would be limited to trying out css properties to see if they do anything. I see this page has been started, but it depressingly incomplete: http://gridstylesheets.org/guides/references/

@paulyoung
Copy link
Contributor

In short, most numerical CSS values can be constrained.

In addition to top and left, GSS introduces bottom, right, center-x, and center-y.

Also, intrinsic-width and intrinsic-height exist and behave as documented here.

Many 2D properties have a way to reference both dimensions at once for convenience:

  • bottom-left (left, bottom)
  • bottom-right (right, bottom)
  • center (center-x, center-y)
  • intrinsic-size (intrinsic-width, intrinsic-height)
  • position (x, y)
  • size (width, height)
  • top-left (left, top)
  • top-right (right, top)

@fresheneesz
Copy link
Author

That's great info! Would you mind adding it somewhere in the docs?

@paulyoung
Copy link
Contributor

I'll keep this issue open as a reminder to do that.

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

2 participants