درس قبلی
The Line-Clamp Prefix Peculiarity

The Line-Clamp Prefix Peculiarity

The Line-Clamp Prefix Peculiarity

قسمت 2
درس بعدی

درباره این درس

If you've ever hoped to clamp a paragraph of text to a set number of lines, you're likely already aware that it's a tricky process. However, for many years now, there has been a way to do it with pure CSS. The only caveat is that it requires a number of webkit-specific prefixes to work properly. But what would you say if I told you that, even with these webkit-specific prefixes, the functionality will work across all modern browsers?

View the source code for this episode on GitHub.

Further reading:

دیدگاه های کاربران

× در حال پاسخ به: