callmenick / animating-hamburger-icons Goto Github PK
View Code? Open in Web Editor NEWAnimating CSS-only hamburger menu icons
Animating CSS-only hamburger menu icons
Within the demo.scss file - Any SASS that is related to animations (transition, transition-delay, transition-property) does not include the -webkit- prefix making the animations not work correctly on iOS.
The prefixes are in the CSS version of the code (as well as on the live demo) though.
The demo page returns a 404: https://callmenick.com/_development/css-hamburger-menu-icons/
A lot of people want to use this to toggle menus. A good idea would be to re-think the component JavaScript to have event callbacks that users can plug in to.
I am animating a burger menu changing the margin
and width
of two divs, and in the meantime, a burger icon it is animated switching the class is-active
.
The result, as you can see, is a jumpy effect in the content of the burger menu (green area):
http://www.codeply.com/go/g7Zp98paz5
Executing the burger button: you can see that, for some miliseconds, the green area dissapears.
Executing the toggle button: you can see that there are no jumps.
I only reproduce it in Google Chrome.
What is it happening? How can I fix this strange behaviour?
Hi Nick,
firstly, lovely hamburger icons :)
I'm using the c-hamburger--htx version, and it works exactly like your demo site when running on my local machine.
However, when i deploy the site to my web host, the hamburger doesn't animate with the same animation.
My site is www.jagskitchen.com (you may need to resize the site so the media queries kick in and the hamburger shows up).
Any chance you could help me identify what's up?
Thanks,
Sunny
I'm a member of cdnjs, and I want to add this library into our server.
Which file should we host?
BTW, because our auto-update-bot needs git tags to fetch files, would you add some git tag to make our auto-update-bot work?
Thanks!
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.