Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

hide lines of text not fully visible with javascript & css

I think this might be impossible, but is there some way using JQuery to prevent lines of text not fully visible from showing up on the screen when a user scrolls until the entire line is visible? That is, we want to prevent something like this from showing up:

Example

Thanks!

like image 820
Aaron Yodaiken Avatar asked Dec 28 '22 02:12

Aaron Yodaiken


1 Answers

I agree with @rahmanisback, don´t mess with the user's browsing experience.

However, what would perhaps be a nice "inbetween" solution, is using a transparency gradient so that the bottom pixels fade out. But that would apply also to "whole" lines, so perhaps that´s not a good solution for your problem.

like image 161
jeroen Avatar answered Dec 30 '22 21:12

jeroen