AleksandrHovhannisyan / aleksandrhovhannisyan.com

My online resume and blog, created with 11ty, Sass, and JavaScript.
https://aleksandrhovhannisyan.com/
109 stars 26 forks source link

are there any advantages to using cqi instead of vw #186

Open david-j-m opened 6 months ago

david-j-m commented 6 months ago

hi Alek, Thanks for the Creating a Fluid Type Scale with CSS Clamp article. I'm just getting into fluid type and read alot about using cqi instead of vw 'cause the font size is calculated based on the container rather than the viewport size. Is there any advantage to using cqi units? Thanks

AleksandrHovhannisyan commented 6 months ago

Hi, thanks for reaching out. You might want to post this in the dedicated comments section for that article: https://github.com/AleksandrHovhannisyan/aleksandrhovhannisyan.com/issues/131

It's a good question. I have an open issue in my calculator's repo here to one day support container queries, but I haven't had time to look into it: https://github.com/AleksandrHovhannisyan/fluid-type-scale-calculator/issues/48