Ad
What Browsers Support Alpha Channel In Colors?
Since I'm always sticking to CSS 2, it was a (pleasant) surprise for me today to find out that CSS 3 supports alpha channels in colors. That allows for a nice range of effects. But - which browsers (and from what version) support this? Is it safe to use this today, or are we better off by still making a 1x1px png image and adding the IE6-filter-hack?
Ad
Answer
Here is an article detailing support for that in various browsers.
You probably should do this with a PNG image and fall back to something reasonable for IE 6. And you don't want that PNG image to be 1×1 px² large because tiling such very small images is painfully slow in some rendering engines. Making the image 100×100 px² doesn't cost you anything :-)
Ad
source: stackoverflow.com
Related Questions
- → unable to change colors of a tag
- → Regex exec() isn't returning first occurrence in string, but returns subsequent matches
- → How select multiple colors in october cms
- → Why won't my Javascript randomColors function produce a random background when clicking a button?
- → Blend two divs at their meeting point
- → Color elements given an array of colors
- → How to show size and colors separately in shoplify?
- → How do you separate a product option of color into two categories "Essentials" and "Limited Edition" on Shopify?
- → Installed app, modifying html font/content/colors
- → Material-ui GridTile Title Color
- → D3.js bar chart colors not shown in print out but displayed on browser
- → Typography and spacing in material-ui
- → justGage keeps appending the meter on Submit click
Ad