niallyoung on Nostr: Im learning CSS this week, you could possibly lazy load on scroll and toggle images ...
Im learning CSS this week, you could possibly lazy load on scroll and toggle images on/off in DOM - seems to speed up complex scenes here:
display: none; visibility: hidden;
display: block; visibility: visible;
Published at
2025-01-17 01:36:33Event JSON
{
"id": "c6138ca3b0e49d94ae7e906236358ce5f949d2edf9ab68195d111988198fd138",
"pubkey": "234dd2c21135830a960a462defdb410ac26f178cbf8e13fbe43890f8656ee983",
"created_at": 1737077793,
"kind": 1,
"tags": [
[
"e",
"7f79b1216c13e83eb47fa90577273aafb97f7cb28b7eb164e91a106dab4190b4",
"",
"root"
],
[
"e",
"965e918e0af5de9e57cfadb7083277fa2588ae4af0b2805fa797eb72b36cc72c",
"wss://junxingwang.org",
"reply"
],
[
"p",
"be7358c4fe50148cccafc02ea205d80145e253889aa3958daafa8637047c840e"
]
],
"content": "Im learning CSS this week, you could possibly lazy load on scroll and toggle images on/off in DOM - seems to speed up complex scenes here:\n\ndisplay: none; visibility: hidden;\n\ndisplay: block; visibility: visible;",
"sig": "618fd49fb56af9dbced1e9eec16a7ae8d4956f2cd9bada1236aacd248a2de62743cd6b5480e691baade6d069343a887e8be7501bb8cce44ec9ad01f00a7a9bad"
}