Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Gradients could be done via base64 css if you triggered the Outlook rendering engine under the hood. ;)



Haha, I don't think I ever used that trick but on a number of projects I know I dropped in a `generateGradient.php`-type file that had it's output cached so that in CSS we could just do `background: url(/generateGradient.php?start=XXXXXX&end=XXXXXX)` (and maybe some other params as time went on) to make changes easier.


https://rymc.io/blog/2010/you-got-your-base64-in-my-css/

If you want a time travel portal this morning. ;)




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: