In a div, the content exceeds the length and the font shrinks.

clipboard.png

as shown in the picture, please refer to

when the content is long, how to make the font shrink adaptively to div

Css
Mar.06,2021

what you want:
reference: http://jquery-textfill.github.

you can write it yourself. Be troublesome. The simple idea is to calculate how many words there are and get the width, and scale font-size

if you exceed the number of words.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3a7e5-2b765.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3a7e5-2b765.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?