m (Add in Rupert's card.) |
m (Auto-flip on page load.) |
||
Line 5: | Line 5: | ||
<div class="col-md-12"> | <div class="col-md-12"> | ||
<h2>Team</h2> | <h2>Team</h2> | ||
− | <div | + | <div class="card"> |
<div class="front"> | <div class="front"> | ||
<img src="https://static.igem.org/mediawiki/2016/0/0f/T--Newcastle--Cards-Rupert-Front.jpg"/> | <img src="https://static.igem.org/mediawiki/2016/0/0f/T--Newcastle--Cards-Rupert-Front.jpg"/> | ||
Line 18: | Line 18: | ||
</div> | </div> | ||
<script src="https://2016.igem.org/Team:Newcastle/libs/jquery-flip-js?action=raw&ctype=text/javascript"></script> | <script src="https://2016.igem.org/Team:Newcastle/libs/jquery-flip-js?action=raw&ctype=text/javascript"></script> | ||
+ | <script> | ||
+ | $(function() { $(".card").flip({ | ||
+ | axis: 'y', | ||
+ | trigger: 'hover' | ||
+ | }) }); | ||
+ | </script> | ||
<style> | <style> | ||
img | img |
Revision as of 14:31, 21 September 2016