Hello.
I’m very very new to html, css, js, and other languages.
I’m working on this card flip project and does not know what I did wrong.
problems: card images does not display in double sided.
Animation does not work.
I know that you can’t really resize the image using css, but was hoping to find a way to do so. Would it be possible to downsize the image without having to re-create the image?
HTML
<html>
<head>
<title>Name the Font</title>
<meta name="viewport" content="initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, width=device-width">
<script type="text/javascript" language="javascript" src="7_1_AN.js"></script>
<link rel="stylesheet" href="7_1_AN.js" media="screen"/>
</head>
<body>
<div id="container">
<div id="helvetica" class="helvetica" onclick="rotate(event)">
<div id="front" class="front face">
img src="new user can't post image"
</div>
<div id="back" class="back face">
img src="new user can't post image"
</div>
</div>
<div id="futura" class="futura" onclick="rotate2(event)">
<div id="front2" class="front face">
img src="new user can't post image"
</div>
<div id="back" class="back face">
img src="new user can't post image"
</div>
</div>
</div>
</html>
I couldn’t really work out what you were trying to do with that code but here’s a basic flip animation that I got from somewhere (can’t remember where now).