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

Watch for upcoming native CSS features #1830

Closed
chrisblakley opened this issue Mar 11, 2019 · 5 comments
Closed

Watch for upcoming native CSS features #1830

chrisblakley opened this issue Mar 11, 2019 · 5 comments
Labels
Frontend (Style) Related to the client-side CSS (or Sass)
Milestone

Comments

@chrisblakley
Copy link
Owner

chrisblakley commented Mar 11, 2019

A few features to watch for that will occur natively in CSS rather than needing a preprocessor like Sass:

Custom Selectors:

https://cssdb.org/#custom-selectors

@custom-selector :--heading h1, h2, h3, h4, h5, h6;
article :--heading + p {}

Nesting:

https://cssdb.org/#nesting-rules

article {
  & p {
    color: #333;
  }
}

system-ui Font Family:

https://caniuse.com/font-family-system-ui
https://cssdb.org/#system-ui-font-family

body {
  font-family: system-ui;
}

I really like this site to track the stages of upcoming CSS features:
https://cssdb.org/

@chrisblakley chrisblakley added the Frontend (Style) Related to the client-side CSS (or Sass) label Mar 11, 2019
@chrisblakley chrisblakley added this to the 7.0 Orion milestone Mar 11, 2019
@chrisblakley
Copy link
Owner Author

The system-ui font family can start to be considered at this point: https://caniuse.com/font-family-system-ui

@chrisblakley
Copy link
Owner Author

In the future, I may split this into individual issues.

@chrisblakley
Copy link
Owner Author

chrisblakley commented Mar 2, 2022

Nesting on caniuse.com: https://caniuse.com/css-nesting

@chrisblakley
Copy link
Owner Author

Scroll timeline: https://caniuse.com/css-scroll-timeline

@chrisblakley
Copy link
Owner Author

Closing this as I've split it into individual issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Frontend (Style) Related to the client-side CSS (or Sass)
Projects
None yet
Development

No branches or pull requests

1 participant