Since we can't transition CSS gradients (to another gradient) yet, I've provided a lil' workaround using a pseudo element. The shown transition is triggered by the opacity property.
Note: To transition gradients like this only works with browsers which are able to transition pseudo elements.
暂无点赞的用户
暂无Fork