Myvideo

Guest

Login

How to set a maximum number of lines of text with CSS

Uploaded By: Myvideo
1 view
0
0 votes
0

Limiting the total visible lines of text within an element is something I get asked about pretty frequently, and while there are probably some complex JavaScript solutions, there is a simple, though slightly strange, way to do it with CSS only. #css -- Come hang out with other dev’s in my Discord Community 💬 Keep up to date with everything I’m up to ✉ Come hang out with me live every Monday on Twitch! 📺 --- Help support my channel 👨‍🎓 Get a course: 👕 Buy a shirt: 💖 Support me on Patreon: --- My editor: VS Code - --- I’m on ... #Kevin_Powell #css #front-end #frontend #html #web_development #limit_lines_of_text #maximum_lines_of_text #css_max_lines 20221110 b6iVByCOx8A

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later