GithubHelp home page GithubHelp logo

kurt-eh / kurt-eh.github.io Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 12.38 MB

EDGE UP project to create a 4 page website. One of my favorite author/podcasters had a new book dropping at the same time, so I made the site about him and his books.

HTML 59.22% JavaScript 1.92% Rich Text Format 22.50% CSS 16.36%
books scifi horror scifi-horror scottsigler edgeup

kurt-eh.github.io's People

Contributors

kurt-eh avatar

Stargazers

 avatar

Watchers

 avatar

kurt-eh.github.io's Issues

Page 3 dinosaur animation not functioning properly on iOS 15.1 devices.

12/4/2021 update:

The issue appears to be with iOS 15.1.
Tested the site on several devices:
Android: 2 devices worked properly.
iOS 14.7: Worked properly. (1 device)
iOS 14.8: Worked properly. (1 device)
iOS 15.1: animation fails. (5 devices)
https://stackoverflow.com/questions/70222812/transform-translate-animation-not-functioning-on-ios-15-1-devices

The intent of the dinosaur is to have it move slowly, slightly to the right, and then at the end move in for "the kill" (zoom in and re-center the image on it's teeth).

Chrome's desktop's inspect "phone preview" shows the animation behaving correctly.

But when I open the page on my iPad or iPhone, the translate motion does the opposite.

`
/media: default:/

#divNV2 /*div containing the image. */
{
width: 680px; /max image size from file/
height: 14em;
display:flex;
grid-area:nv2;
margin-left:auto;
margin-right:auto;
position:relative;
overflow: hidden;
margin-bottom: 2em;
border:2px black solid;
}

#novellasBanner //the image's id */
{
width:100%;
animation-name: dinoAttack;
animation-timing-function: cubic-bezier(.28,.03,1,-0.07);
animation-iteration-count: infinite;
animation-duration:8s;
}

@Keyframes dinoAttack
{
0%{width: 100%;}
/* 10%{width: 95%;
transform:translate(-60%)} */
96%{
width: 3000px;
left:0px;
transform:translate(-70%, -50%);
}
100%{
width: 3000px;
left:0px;
transform:translate(-70%, -35%);
}

}
/* mobile versions:*/

@media screen and (max-width:1200px) {

#divNV2{
    width: 680px;
}

}
@media screen and (max-width:768px) {

#divNV2{
    width: 85%;
}

}

@media screen and (max-width:576px) {

#divNV2{
    width:90%;
}
  @keyframes dinoAttack {
      0%{
          width: 115%;
      }
      96%{
          width: 3000px;
          left:0px;
          transform:translate(-70%, -50%);
      }
      100%{
          width: 3000px;
          left:0px;
          transform:translate(-70%, -35%);
      }
  }
}`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.