45+ Css Background Color Fade Transition Images. For having a trasition effect like a highlighter just to highlight the text and fade off the bg color, we used the following I'm using this css to trigger the transition:
The selector would have the background transitioning to as the base and a before::
I have tried just simply adding background:black; Although this works great on the first glance, it can also be the cause of some hard to find bugs with mouse events. You can use css3 transition fade properties to create fading effects on your images, buttons and more. If you look at the social media icons on paulund.co.uk (my site) you will see how it uses css transitions to change the opacity on the images to fade in the social media icons.