rgba.php: an elegant and miniature “crutch” provides backward compatibility with browsers that do not understand the translucent colors of rgba (...)
Ensuring rgba (...) backward compatibility
has never been easier
than copy + paste:background: url('/rgba.php/rgba(255, 255, 255, 0.3)'); background: rgba(255, 255, 255, 0.3);
The
rgba.php code in PHP, which accomplishes this amazingly simple trick, lies
on GitHub under the MIT license . It occupies
only 2658 bytes.The author is Lea Verou . Praise her!
')
Source: https://habr.com/ru/post/137741/
All Articles