Skip to content

Conversation

@small-j
Copy link
Contributor

@small-j small-j commented Mar 16, 2022

  • rem 단위로 작성된 값들 현재 값 -> 50%로 변경된 값 적용하는 코드 생성
    root의 font-size를 62.5%로 유지해야하는 문제가 있었습니다.
    -> 사파리에서 최소 폰트 비율이 9px로 설정되어있는 경우가 있어서 적어도 10px로 맞춰두어야 특별한 경우를 제외하고 문제에 대응할 수 있었습니다.
    따라서 10px인 62.5%로 변경하기 위해서 현재 값에서 50%로 줄어들면 가지게 되는 px값을 계산해 적용해주었습니다.

근데 여러분.. 아주 슬프게도 생각해보니 모바일 버전에는 또 사이즈 유지를 해야하는지라ㅠㅜ 모바일 퍼센트를 늘리던지 하는 방식을 생각해봐야할 것 같다는 생각이 드네요..

@vercel
Copy link

vercel bot commented Mar 16, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/growto/team-grow-to-client/HE2oyL2bgKqZGTxidbx1Qp8HtDDf
✅ Preview: https://team-grow-to-client-git-feature-fontsetting-growto.vercel.app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants