You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to fit all the p elements inside a div?
I have a div with fixed width and height 300px and 600px, with many p elements inside, I tried with textFit(document.querySelectorAll(".box" + "p")); but nothing changes.
If I remove p tags and just do textFit(document.querySelectorAll(".box")); it works, but I really need paragraphs.
Any way to do this?
The text was updated successfully, but these errors were encountered:
I tried but it doesn't work, I get no errors though. It works with just textFit(document.querySelectorAll(".box")) if I remove the p tag, but I really need p.
Is it possible to fit all the p elements inside a div?
I have a div with fixed width and height 300px and 600px, with many p elements inside, I tried with
textFit(document.querySelectorAll(".box" + "p"));
but nothing changes.If I remove p tags and just do
textFit(document.querySelectorAll(".box"));
it works, but I really need paragraphs.Any way to do this?
The text was updated successfully, but these errors were encountered: