kurt-eh / kurt-eh.github.io Goto Github PK
View Code? Open in Web Editor NEWEDGE 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.
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.
12/4/2021 update:
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%);
}
}
}`
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.