stephenscaff / read-smore

A little Read More JS thing
https://stephenscaff.github.io/read-smore/
MIT License
28 stars 7 forks source link

Add responsiveness breakpoint #41

Open d2boy opened 3 months ago

d2boy commented 3 months ago

I'd like to suggest adding responsive breakpoints (e.g. 640 => 40 words, 900 => 80 words) so that we could control text size on mobile devices. Maybe some kind of prefixes for various screen sizes to keep it simpler (wordsCountXXL wordsCountLG wordsCountSM)?