Skip to content

Commit

Permalink
Move interpolate-size to :root.
Browse files Browse the repository at this point in the history
  • Loading branch information
frjo committed Nov 24, 2024
1 parent 0cf6288 commit 91950cb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions assets/sass/_reset.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,18 @@
box-sizing: border-box;
}

:root {
// Activate transition to intrinsic sizes like auto and fit-content.
interpolate-size: allow-keywords;
}

html {
// Prevent adjustments of font size.
-webkit-text-size-adjust: none;
text-size-adjust: none;
// Improve text rendering.
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
// Activate transition to intrinsic sizes like auto and fit-content.
interpolate-size: allow-keywords;
}

// Sections
Expand Down

0 comments on commit 91950cb

Please sign in to comment.