Re:Show HN: A visual guide to the most popular CSS properties
by Raphmedia on Thursday November 24, 2016 @12:59PM
(#13031682)
The best solution would be to lazy load. If you can only see the first 3 property on page load, there is no gain in having them all load at the same time.
[ Parent
| on HN ]
Re:Show HN: A visual guide to the most popular CSS properties
by dom0 on Thursday November 24, 2016 @01:18PM
(#13031808)
No it wouldn't, because this means additional delays for anyone that is actually using the site.
Re:Show HN: A visual guide to the most popular CSS properties
by Raphmedia on Thursday November 24, 2016 @01:48PM
(#13032036)
Lazy loading done well is invisible for the user. You preload things as users scroll down and when user hover / click on one of the anchors.
Re:Show HN: A visual guide to the most popular CSS properties
by mschuster91 on Thursday November 24, 2016 @01:59PM
(#13032099)
That doesn't work for those ctrl+f'ing for a specific property.
I'd probably do a full load for the text, with specifying the height for the examples inline, and then lazy-render the examples once they're visible.
Re:Show HN: A visual guide to the most popular CSS properties
by scotty79 on Thursday November 24, 2016 @04:50PM
(#13033006)
You could have all content just unstyled (apart from sections heights) and enable the style for each section as it comes into view.
The problem with this site is not that it has too much context. Just too much new and crazy styles.