I'm in the process of designing a website that is intended to fully occupy the screen. To achieve this, I have used percentage-based dimensions for all elements.
One specific element, a sidebar, has been set to be 30%
of the browser window width via CSS.
My goal now is to ensure that the text within this sidebar is as large as possible while still fitting properly.
Is there a way to adjust the font size based on the width of the sidebar using solely CSS, or would incorporating jQuery be necessary?
Please let me know if more information is required. Thank you for any assistance provided!