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 directional position utilities #658

Open
sebnitu opened this issue Jul 11, 2021 · 0 comments
Open

Add directional position utilities #658

sebnitu opened this issue Jul 11, 2021 · 0 comments
Labels

Comments

@sebnitu
Copy link
Owner

sebnitu commented Jul 11, 2021

Problem

With the addition of the position utilities, there's a need to be able to set their top, right, bottom and left positions using utilities as well. The most basic example would be to set those values to 0. So we can use the following and not need additional CSS:

Example

<div class="position-sticky top">...</div>

Would be equivalent to

.selector {
  position: sticky;
  top: 0;
}
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