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)
background: linear-gradient(to right bottom, darken(#667DB6, 5), darken(#0082C8, 5))
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.