jetthoughts / jetthoughts.github.io

0 stars 0 forks source link

[REFACT] Use image tag instead of css for cta image #158

Closed AucT closed 4 weeks ago

AucT commented 1 month ago

Instead of using https://github.com/jetthoughts/jetthoughts.github.io/blob/44ddfca5b32f01960cd720163a0240f0fdfd5c49/themes/beaver/assets/css/dynamic-404-590.css let's move it to HTML and make it lazy loading

AucT commented 1 month ago

this image should be in css (or replaced by svg) Image

AucT commented 4 weeks ago

When it comes to CSS background images, there is currently no way to directly apply the fetchpriority attribute to them. This is because background images are typically set in CSS and do not have an associated HTML element that can utilize the fetchpriority attribute.