본문 바로가기

Web/HTML|CSS

[CSS] min max 를 써도 될까?

반응형

min max를 사용하려고 봤는데

 

IE는 버려진다고 하지만 아직 사용하는 사람이 많은데 적용이 안된다

 

써도될까 고민이 된다

 

다른분들은 어떻게 하고 있을까

 

대체제가 있는걸까...

 

https://stackoverflow.com/questions/23984629/how-to-set-min-font-size-in-css

 

How to set min-font-size in CSS

I want to set a minimum font size to every element in my HTML page. For example if there are elements with font-size less then 12px, then they will change to 12px. But if there are elements with f...

stackoverflow.com

이런식으로도 처리하던데

 

font-size:calc(12px + 1.5vw);

 

공부를 많이 해야겠다

 

https://developer.mozilla.org/en-US/docs/Web/CSS/max

 

max()

The max() CSS function lets you set the largest (most positive) value from a list of comma-separated expressions as the value of a CSS property value. The max() function can be used anywhere a length, frequency, angle, time, percentage, number, or integer

developer.mozilla.org

ps. 난 아직도 공무원들이 윈도우 98 쓰는것도 봤다

좀 업그레이드 좀 했으면 좋겠다...

반응형

'Web > HTML|CSS' 카테고리의 다른 글

아이콘 웹 폰트  (0) 2021.03.05
css로 할 수 있는 것들  (0) 2021.02.26
queryselector  (0) 2021.02.26
[CSS] font 관련 메모  (0) 2020.07.19
[HTML/CSS] img tag Image 없는 경우 대체 이미지 출력 (onerror)  (0) 2020.07.18