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

Make App responsive ~ CSS media queries ... #2

Open
nfreear opened this issue Apr 3, 2020 · 0 comments
Open

Make App responsive ~ CSS media queries ... #2

nfreear opened this issue Apr 3, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@nfreear
Copy link
Owner

nfreear commented Apr 3, 2020

..


CSS media query

:root {
  /* ... */
  --zoom: 1;
}

/* Counter-intuitively, larger fonts on big-screens! (iPad+) */
@media (min-width: 767px) {
  :root {
    --zoom: 1.5;
  }
}


body {
  /* ... */
  font: calc(var(--zoom) * 1.1rem) sans-serif;
}

CSS validator :~ jigsaw.w3.org/css-validator/... ~~ 26 errors ?!

@nfreear nfreear added the enhancement New feature or request label Apr 3, 2020
@nfreear nfreear self-assigned this Apr 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant