[csswg-drafts] [font-sizes] [responsive] Create two new dynamic settings that will help with responsive fonts (#8366)

djekanovic has just created a new issue for https://github.com/w3c/csswg-drafts:

== [font-sizes] [responsive] Create two new dynamic settings that will help with responsive fonts ==
font-size:( 20px 25px 45px);
Font size will break on specified breakpoints based on values above.

font-size: linear( 20px 25px 45px);
Font size will change linerly from defined breakpoints, this will also mean definin breakpoints with something new if possible like 

breakpoints {

768px;
1024px;
3rd value is above 1024px

  }
  this would lead to simplifying media queries that are used the most and using expression like div {
width: 200px 300px 400px; }
Or 
div {
padding-inline: 100px 40px 20px; }

These are the ideas to simplify and unify responsive editing

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8366 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 27 January 2023 07:10:15 UTC