Line 36: | Line 36: | ||
color: red; | color: red; | ||
} | } | ||
− | .bio_card | + | .bio_card { |
width: 300px; | width: 300px; | ||
height: 300px; | height: 300px; | ||
Line 43: | Line 43: | ||
float: left; | float: left; | ||
margin-bottom: 20px; | margin-bottom: 20px; | ||
+ | } | ||
+ | .bio_card .image { | ||
+ | transition:all 1s ease; | ||
} | } | ||
− | .bio_card .image{ | + | .bio_card .image:target { |
− | + | margin-top: -350px; | |
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
</style> | </style> | ||
<script> | <script> | ||
Line 64: | Line 62: | ||
<div id = "row_one" style="width:200%; height:250px;overflow-y: hidden;"> | <div id = "row_one" style="width:200%; height:250px;overflow-y: hidden;"> | ||
− | <div class="bio_card" | + | <div class="bio_card"> |
− | + | <div class="image"> | |
+ | <a href="#John Luke"><img id = "John Luke" style=" float:left; display:inline" src="https://static.igem.org/mediawiki/2016/7/75/John_Luke-Serious-min.png" onmouseover="this.src='https://static.igem.org/mediawiki/2016/9/9d/John_Luke-Silly-min.png'" onmouseout="this.src='https://static.igem.org/mediawiki/2016/7/75/John_Luke-Serious-min.png'" width="350px" height="auto" alt="John Luke Garcia" /></a> | ||
+ | </div> | ||
</div> | </div> | ||
Revision as of 17:03, 8 July 2016