XF 2.x Implementing Content-Visability CSS?

dethfire

Customer
I just read an article on the newish CSS property Content-Visibility and how it's like lazy loading for styling. Apparently, it can really improve performance. I wonder, is it possible to implement it in XF templates? Have you looked into it? Thanks!
 

Russ

Pixel Exit Staff
I'm not exactly sure how well it would work out for a forum software. Static websites it seems like it'd be easier enough to implement and make sense but a forum, not so sure.

I'm trying to think of how it'd work. Like hiding certain posts on the initial page load but what if users land directly on those posts due to last read, or most recent reply type of link (anchor links to specific posts).

It seems like it's literally just using CSS to target specific divs but not entirely sure! I'll look into a little further when I have time but this was my first reaction.
 

dethfire

Customer
I'm not exactly sure how well it would work out for a forum software. Static websites it seems like it'd be easier enough to implement and make sense but a forum, not so sure.

I'm trying to think of how it'd work. Like hiding certain posts on the initial page load but what if users land directly on those posts due to last read, or most recent reply type of link (anchor links to specific posts).

It seems like it's literally just using CSS to target specific divs but not entirely sure! I'll look into a little further when I have time but this was my first reaction.
yeah, it's hard with UGC because it relies on a "contain-intrinsic-size" attribute to tell the height of a div. That is impossible to say for posts, but maybe this could work for thread list pages. hmmm
 

Pre-Sale Questions

If you have any questions or concerns you want to ask before you make a purchase don't hesitate to use one of our multiple support channels for your convenience.