This library is completely free for both personal and commercial use. Use the :hover selector to change the style of a button when you move the mouse over it. css bttn.css library provides a huge collection of simple styles for buttons. You can easily copy-pase all the code into your environment or get the code for each style aspect separately, e.g., code for each gradient, shadow or transform.Įnjo圜SS has its own gallery of ready CSS solutions that can be used for your experiments with styles. Hoverable Buttons Green Blue Red Grey Black Green Blue Red Grey Black. It’s not the most convincing illusion ever, but it still makes for a nice looking button. The hard shadow is what gives the button the fake 3D effect. The button text style reacts on the hover state. Use the button component inside forms, as links, social login, payment options with support for multiple styles, colors, sizes, gradients, and shadows. If you want to achieve this effect, you’ll at least need the shadow and the gradient. One is the primary action in a solid color to emphasize the main action of a page.