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

Внедрить современный синтаксис медиавыражений #160

Open
higimo opened this issue Dec 29, 2020 · 4 comments

Comments

@higimo
Copy link
Contributor

higimo commented Dec 29, 2020

Идея из ПР: https://github.com/web-standards-ru/web-standards.ru/pull/159/files#r549819244

@higimo
Copy link
Contributor Author

higimo commented Dec 29, 2020

@pepelsbey уточни, пжлст, речь о новом стандарте 4 уровня?

@media (height > -100px) {
  body { background: green; }
}

@pepelsbey
Copy link
Member

Ага, синтаксис больше-меньше вместо минимальная/максимальная ширина.

@Holiden
Copy link
Member

Holiden commented Jan 20, 2021

Возьмусь, пожалуй :)

@firefoxic
Copy link
Contributor

А может сразу кастомные медиа?
https://drafts.csswg.org/mediaqueries-5/#custom-mq
https://github.com/postcss/postcss-custom-media
Жутко удобно с ними код писать/читать!

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

Successfully merging a pull request may close this issue.

4 participants