Reputation: 63
I downloaded a Bootstrap Theme and there they use Sass darken, to make the button more obscure on hover. I managed to use the instagram gradient as it's background, though since the darken function requires a base color I was wondering, how could I achieve the same effect?
(I guess I could just us opacity on hover instead for all of the social buttons but I was hoping to address this just for the sake of science)
Upvotes: 3
Views: 2265
Reputation: 193
background: linear-gradient(to right bottom, darken(#667DB6, 5), darken(#0082C8, 5))
Upvotes: 8