Tiny Mighty Buttons
Version 0.1

Simple Button Animations with CSS. No double content. Respects Touch Devices. Works as <a> and <button> tag*.

Created By Eduard Bodak

*

Don’t use a <div> in <button>. That’s not valid.

  • Is-Jellybellyis-jellybelly
  • Is-Swoopadoopis-swoopadoop
  • Is-Bazzle-Snapis-bazzle-snap
  • Is-Flippity-Flopis-flippity-flop
  • Is-Sneaky-Sprocketis-sneaky-sprocket
  • Is-Bubblegum-Dashis-bubblegum-dash
  • Is-Doodle-Bop-Shuffleis-doodle-bop-shuffle
  • Is-Blocky-Boogieis-blocky-boogie
  • Is-Pixel-Bonanzais-pixel-bonanza
  • Is-Glide-And-Slideis-glide-and-slide
  • Is-Casperis-casper
  • Is-Wonder-Warpis-wonder-warp

FAQ

  • Why no Webflow Animations?

    Webflow animations aren't fully accessible at the moment, as "reduce motion" settings don't affect them.

    They also use jQuery, adding unnecessary code for simple animations, making them less performant. If you can do it in CSS, it's a better choice for smoother performance.

    It's common to see Webflow Animations combined with GSAP, but having two animation libraries can bloat and slow down your project. Stick to one for better performance.

  • How to use the Buttons Styles?

    You can clone the site in Webflow and check out the styles there.

    At the top, there's a CSS embed labeled global-button-css containing global styles for all buttons. Before each button, there's a CSS embed with the button’s name, containing its specific styles. All other styles are set within Webflow.

    Simply rebuild the button using your own class names and styles. You can also inspect the button using Developer Tools.

  • Will there be more buttons?

    Yes! I will create new ones from time to time. Follow to see more.

  • Can you create the same with form elements?

    There will be the same with form elements (inputs, checkboxes, radio buttons). I'm currently working on that.

  • I have a button idea. Can you create it?

    Sure! Write me on LinkedIn or x.com. I will see if that fits here.

  • Why .button-default and not .btn-primary?

    I've been using .btn-primary since 10 years now. I can't see it anymore 🫠

    It often happened that .btn-primary had to be switched to .btn-secondary, and so on.

    With .button-default, you can simply use helper classes for different states, like .is-black, .is-yellow, or .is-outlined..

  • Why don't make a easy copy and paste button?

    I could have done that, but that's not how you learn something. Web Development is not about copy and paste things. Try rebuilding it in your own way. Experiment with timings, easing, colors, fonts, and more. Make it your own.

  • How to switch to <button>?

    Just right click on the link, convert to custom element. And there switch from div to button. Don't forget to add type="button".

  • Why there are no vendor prefixes in the CSS?

    I like to keep the code clean and minimal. If you want to use the styles, you should run it through a tool, for example, here. This will add the necessary prefixes.

Changelog

-v0.1 [08-OCT-2024]

  • Add first 12 Buttons
  • Add Webflow Site