I have a html page something like this
<div id="parentDiv">
<p>A</p>
<p>B</p>
</div>
I would like to change the font size of the two < p > elements as the width of parent div (id=parentDiv) changes.
I have used vw to set font sizes but it does not achieve what I want.
I am an absolute beginner in CSS.