andy-set-studio / 11ty-base Goto Github PK
View Code? Open in Web Editor NEWEleventy base project
Eleventy base project
In the modern-css-reset, there is a media query for reduced motion. Inside, animation-duration values are globally set to a very small time value of 0.01ms. The small value matters, so it doesn't break events like animationend
, as you wrote in the blog article about modern-css-reset
The css processing task seems to round the 0.01ms value to 0, which breaks those animationend
and transitionend
events for some browsers.
You can check it by having a look at the source code (https://picalil.li/ is also affected) and search for animation-duration
.
The cleanCSS step inside the gulp task for the sass processing seems to do this (it stays 0.01ms when skipping the cleanCSS step). A workaround is changing the time value to 1ms.
There also is a way to specify the rounding precision in clean-css, haven't tried yet: https://github.com/clean-css/clean-css#how-to-specify-a-custom-rounding-precision
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.