Image as button: css :active


I have included a login with facebook. Now I wanna design the login page. I downloaded a login-with-facebook-button as png and used it as button. That works.

But now I want the button to have :active effects like the Ionic buttons. So that the button looks pushed when you push it :slight_smile: How can I do that?

You can play with the angular directive ng-mousedown and ng-mouseup.

Here is a codepen sample.

1 Like