minor bugfixes

This commit is contained in:
Samuel Philipp 2016-11-22 23:52:17 +01:00
parent 139c96139d
commit f02ae9432b

View file

@ -16,7 +16,10 @@
<script src="bower_components/flip/dist/jquery.flip.min.js"></script> <script src="bower_components/flip/dist/jquery.flip.min.js"></script>
<script> <script>
$(document).ready(function () { $(document).ready(function () {
$('#card').flip({ var card = $('#card');
card.css('cursor', 'pointer');
card.find('.back').removeClass('hide');
card.flip({
trigger: 'click', trigger: 'click',
speed: 500, speed: 500,
reverse: true reverse: true
@ -62,7 +65,6 @@
#card { #card {
display: inline-block; display: inline-block;
margin: 1rem; margin: 1rem;
cursor: pointer;
} }
</style> </style>
@ -94,7 +96,7 @@
<img class="logo hide-for-small-only" src="img/samuel.png"> <img class="logo hide-for-small-only" src="img/samuel.png">
<img class="logo small show-for-small-only" src="img/samuel.png"> <img class="logo small show-for-small-only" src="img/samuel.png">
</div> </div>
<div class="back"> <div class="back hide">
<img class="logo hide-for-small-only" src="img/samuel.png"> <img class="logo hide-for-small-only" src="img/samuel.png">
<img class="logo small show-for-small-only" src="img/samuel.png"> <img class="logo small show-for-small-only" src="img/samuel.png">
</div> </div>