Line 17: | Line 17: | ||
<style> | <style> | ||
− | # | + | #container { |
position: relative; | position: relative; | ||
margin: 10px auto; | margin: 10px auto; | ||
Line 24: | Line 24: | ||
z-index: 1; | z-index: 1; | ||
} | } | ||
− | # | + | #card { |
width: 450px; | width: 450px; | ||
height: 281px; | height: 281px; | ||
Line 31: | Line 31: | ||
transition: all 1.0s linear; | transition: all 1.0s linear; | ||
} | } | ||
− | # | + | #container:hover #card { |
transform: rotateY(180deg); | transform: rotateY(180deg); | ||
} | } | ||
Line 68: | Line 68: | ||
− | <div id=" | + | <div id="container"> |
− | <div id=" | + | <div id="card"> |
<div class="face"> | <div class="face"> | ||
<img src="https://static.igem.org/mediawiki/2018/thumb/9/93/MidWesternMeetup2018.jpg/800px-MidWesternMeetup2018.jpg"> | <img src="https://static.igem.org/mediawiki/2018/thumb/9/93/MidWesternMeetup2018.jpg/800px-MidWesternMeetup2018.jpg"> |
Revision as of 17:20, 30 July 2018