You'll want to add a class to the beginning of the following selector
#f1_container:hover #f1_card, #f1_container.hover_effect #f1_card
that sets the rotate to zero, then toggle that class on click.
Edit:
You are using the selector to rotate the card
#f1_container:hover #f1_card, #f1_container.hover_effect #f1_card {
-webkit-transform: rotateY(180deg);
-moz-transform: rotateY(180deg);
-o-transform: rotateY(180deg);
transform: rotateY(180deg);
}
in order to not always have it rotate when you hover, you will need to provide an even more specific selector to override that rule. You can do this by adding any selector before it. The best way to do this is normally adding a class to the parent element. So the new rule will look like this
.registered#f1_container:hover #f1_card, .registered#f1_container.hover_effect #f1_card {
-webkit-transform: rotateY(0);
-moz-transform: rotateY(0);
-o-transform: rotateY(0);
transform: rotateY(0);
}
that will match an element with the id of f1_container as well as a class of registered, as opposed to just an element with the id of f1_container
You will want to toggle this class on the element by executing a bit of javascript when you click on the register button.
You don't have a unique id or class on the button, so the jQuery selector for the click listener is a bit hairy
$('#frmReg button:not(".btnFlip")').on('click', function(){
$('btnFlip').addClass('registered')
})
Obviously if you were to just add an id to that button itd be a bit simpler.