a-if

  • Blog

Blog

  • Embed Image Directly in HTML File

    Just thinking of reducing the inode footprint by embedding image directly in the HTML file, but seeing the disadvantages (larger footprint of file size, maintenance hassle, etc.) I think I will stick with the standard by referring to the image file. Reference:

    2024-08-03 21:52:47

    by

    Hotaru
  • Want to Fill Display Without Excess? Good Luck

    To be honest. I want this website to display like 100% of display and nothing more so there is no scrolling when there isn’t any content. Sadly it is hard to do that since vh is calculated assuming it full screen without url bar exist. It is not accounting that so well that sucks. Reference:

    2024-07-29 03:11:53

    by

    Hotaru
  • Long URL Broke UI?

    Well, I happened to encounter it (again) today while writing the post for checking responsive design. What to do? well, you can just add this as global CSS: that’s it, remember to flush CSS cache if you happen to use cache. reference: https://css-tricks.com/better-line-breaks-for-long-urls/

    2024-07-29 03:01:58

    by

    Hotaru
«Newer Posts Older Posts»