Skip to content

Commit

Permalink
Update catroll.html
Browse files Browse the repository at this point in the history
added class & alt to cat img
  • Loading branch information
kelsk authored Mar 6, 2019
1 parent c1a702f commit 1f2ba5a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions catroll.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@

<style>

img {
.lois-photo {
transition: 5s;
-webkit-transition: 5s;
}
.catroll-holder {
font-size: 30px;
width: 100%;
overflow: hidden;
margin: 0 -20px 0 -20px;
Expand All @@ -35,7 +36,9 @@
<div class="catroll-holder">
<div id="lois-holder">
<p class="lois-spacer"></p>
<img src="C:\Users\kelse\Documents\WebApp1`\Scratch\img\lois.bmp">
<img class="lois-photo"
alt="CAT PHOTO"
src="lois.bmp">
</div>
</div>

Expand All @@ -46,7 +49,6 @@
var ctrlKeyPressed = e.ctrlKey;
var lois = document.getElementsByTagName("img")[0];
var loisHolder = document.getElementById("lois-holder");
var resetMargin = "0px 0px 0px -320px";

if (ctrlKeyPressed == true)
{
Expand Down

0 comments on commit 1f2ba5a

Please sign in to comment.