{"id":4742,"date":"2021-08-11T02:00:00","date_gmt":"2021-08-11T00:00:00","guid":{"rendered":"https:\/\/alvarotrigo.com\/epa\/best-css-button-hover-effects\/"},"modified":"2024-02-08T00:31:27","modified_gmt":"2024-02-07T23:31:27","slug":"best-css-button-hover-effects","status":"publish","type":"post","link":"https:\/\/alvarotrigo.com\/blog\/best-css-button-hover-effects\/","title":{"rendered":"10 Best CSS button hover effects"},"content":{"rendered":"<p>Let me test my psychic powers for a second.<\/p>\n<p>I bet the last time you created a CSS hover effect for a button on your site, you flipped the colour of the text with the colour of the background and used a <a href=\"https:\/\/alvarotrigo.com\/blog\/css-transition-duration\/\">transition<\/a> of somewhere between 0.3 and 0.5 seconds.<\/p>\n<p>Am I right? Do you feel seen?<\/p>\n<p>Or perhaps you google a bit and found a list of <a href=\"https:\/\/alvarotrigo.com\/blog\/10-cool-css-animations-to-add-to-your-website\/\">cool CSS animations to add to your website<\/a> and picked a couple of them, right?<\/p>\n<p>Even if not, would you agree that this is the most common way to create CSS hover animations for buttons? I&#8217;m not knocking it &#8211; I&#8217;ve done it many times myself. It works.<\/p>\n<p>But&#8230; there are plenty of other ways you can animate your buttons with CSS, which could make your site more fun and help it stand out from the crowd.<\/p>\n<p>So let&#8217;s explore some other options!<\/p>\n<h2 class=\"wp-block-heading\" id=\"css-button-gradient-effects\">CSS button gradient effects<\/h2>\n<p>At the time I&#8217;m writing this, you can&#8217;t animate gradients with CSS &#8211; at least, not <em>directly<\/em>. There is, however, a way to trick CSS into doing what we want &#8211; we just make the background larger than the button, and move the background on hover. The result is an animated gradient effect on your buttons.<\/p>\n<p>Here are a few examples &#8211; you can take one of these and change the gradient colours and angle if you want:<\/p>\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_JjNwzoE\" data-src=\"\/\/codepen.io\/anon\/embed\/JjNwzoE?height=450&amp;theme-id=1&amp;slug-hash=JjNwzoE&amp;default-tab=css,result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed JjNwzoE\" title=\"CodePen Embed JjNwzoE\" class=\"cp_embed_iframe lazyload\" style=\"width:100%;overflow:hidden\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" data-load-mode=\"1\">CodePen Embed Fallback<\/iframe><\/div>\n\n<p>You can also create an animated gradient effect around the border, instead of the background. Or both:<\/p>\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_RwVRYGN\" data-src=\"\/\/codepen.io\/anon\/embed\/RwVRYGN?height=450&amp;theme-id=1&amp;slug-hash=RwVRYGN&amp;default-tab=css,result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed RwVRYGN\" title=\"CodePen Embed RwVRYGN\" class=\"cp_embed_iframe lazyload\" style=\"width:100%;overflow:hidden\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" data-load-mode=\"1\">CodePen Embed Fallback<\/iframe><\/div>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Check out this amazing <a href=\"https:\/\/alvarotrigo.com\/shadow-gradients\/\">CSS generator for shadows with gradients<\/a> and <a href=\"https:\/\/alvarotrigo.com\/blog\/css-round-button\/\">how to create a round button with CSS<\/a>, so you can take a look at a few examples too.<\/p>\n<\/blockquote>\n<h2 class=\"wp-block-heading\" id=\"css-button-hover-effects-using-box-shadow\">CSS button hover effects using box shadow<\/h2>\n<p>Remember when you were a kid, and you drew a rectangle, then you added a little shading around two edges to make it look kinda 3D? Well CSS <code>box-shadow<\/code> does that:<\/p>\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_eYWbXNp\" data-src=\"\/\/codepen.io\/anon\/embed\/eYWbXNp?height=450&amp;theme-id=1&amp;slug-hash=eYWbXNp&amp;default-tab=css,result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed eYWbXNp\" title=\"CodePen Embed eYWbXNp\" class=\"cp_embed_iframe lazyload\" style=\"width:100%;overflow:hidden\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" data-load-mode=\"1\">CodePen Embed Fallback<\/iframe><\/div>\n\n<p>But, <code>box-shadow<\/code> gives us a lot of control of how the shadow appears:<\/p>\n<ul class=\"wp-block-list\">\n<li>How big should the shadow be?<\/li>\n<li>How far from the box?<\/li>\n<li>What colour?<\/li>\n<li>Multiple shadows, or just one?<\/li>\n<li>Inside the box, or outside?<\/li>\n<li>Solid shadow, or blurry?<\/li>\n<\/ul>\n<p>And, we can animate all of this! Here are some creative ideas on how you can use <code>box-shadow<\/code> in your button hover effects:<\/p>\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_YzVdgXY\" data-src=\"\/\/codepen.io\/anon\/embed\/YzVdgXY?height=450&amp;theme-id=1&amp;slug-hash=YzVdgXY&amp;default-tab=css,result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed YzVdgXY\" title=\"CodePen Embed YzVdgXY\" class=\"cp_embed_iframe lazyload\" style=\"width:100%;overflow:hidden\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" data-load-mode=\"1\">CodePen Embed Fallback<\/iframe><\/div>\n\n<p>Check out Mozilla&#8217;s article on <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/CSS\/box-shadow\" target=\"_blank\" rel=\"noopener nofollow\">box-shadow<\/a> to learn more.<\/p>\n<h2 class=\"wp-block-heading\" id=\"expanding-css-button-hover-effect\">Expanding CSS button hover effect<\/h2>\n<p>Here&#8217;s a unique hover effect that might be useful to you:<\/p>\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_OJmrqVB\" data-src=\"\/\/codepen.io\/anon\/embed\/OJmrqVB?height=450&amp;theme-id=1&amp;slug-hash=OJmrqVB&amp;default-tab=css,result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed OJmrqVB\" title=\"CodePen Embed OJmrqVB\" class=\"cp_embed_iframe lazyload\" style=\"width:100%;overflow:hidden\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" data-load-mode=\"1\">CodePen Embed Fallback<\/iframe><\/div>\n\n<p>It looks like a text link with a little icon next to it, but looks can be deceiving &#8211; the whole thing is actually the button. When you hover, the icon expands and spreads over the text. Very nice!<\/p>\n<h2 class=\"wp-block-heading\" id=\"css-button-on-hover-fill-effects\">CSS button on hover fill effects<\/h2>\n<p>As I said earlier, the most common button hover effect has to be a simple fill &#8211; simply flipping the background colour and the text colour, usually with a fade-in of half a second or so. To be fair, there&#8217;s a reason this is common &#8211; it does the job and does it well. But that doesn&#8217;t mean you can&#8217;t get creative with it.<\/p>\n<p>There are lots of ways you can do create the fill effect besides a fade. You could have the background spread out from the centre, slide it in from the side, or spin it around and lock it into place, just to name three. Here are a few ways you could mix it up a bit:<\/p>\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_QWvzobR\" data-src=\"\/\/codepen.io\/anon\/embed\/QWvzobR?height=450&amp;theme-id=1&amp;slug-hash=QWvzobR&amp;default-tab=css,result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed QWvzobR\" title=\"CodePen Embed QWvzobR\" class=\"cp_embed_iframe lazyload\" style=\"width:100%;overflow:hidden\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" data-load-mode=\"1\">CodePen Embed Fallback<\/iframe><\/div>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>If you like beautifying elements like buttons, you will for sure like turning checkboxes into beautiful toggle switch elements. Check out the best examples we&#8217;ve found on <a href=\"https:\/\/alvarotrigo.com\/blog\/toggle-switch-css\/\">CSS toggle switches<\/a>.<\/p>\n<\/blockquote>\n<h2 class=\"wp-block-heading\" id=\"3d-rotating-button-effect-on-hover-with-css-only\">3D rotating button effect on hover with CSS only<\/h2>\n<p>You might have seen these 3D rotating buttons before. This one is particularly cool because it&#8217;s done purely in CSS, and because it has two &#8220;cubes&#8221; that rotate in different directions (although you could just get rid of the second one if you don&#8217;t want it).<\/p>\n<p>Here&#8217;s how it looks:<\/p>\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_ExmGMVg\" data-src=\"\/\/codepen.io\/anon\/embed\/ExmGMVg?height=450&amp;theme-id=1&amp;slug-hash=ExmGMVg&amp;default-tab=css,result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed ExmGMVg\" title=\"CodePen Embed ExmGMVg\" class=\"cp_embed_iframe lazyload\" style=\"width:100%;overflow:hidden\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" data-load-mode=\"1\">CodePen Embed Fallback<\/iframe><\/div>\n\n<p>Note that you&#8217;ll need to change the <code>data-attr<\/code> <em>and<\/em> the text within the <code>span<\/code> to change the text shown.<\/p>\n<h2 class=\"wp-block-heading\" id=\"apple-style-swipe-effect-on-hover\">Apple style swipe effect on hover<\/h2>\n<p>These buttons visually mimic the effect on iOS when you swipe a menu item (e.g., a note in your Notes app) to make the buttons appear. Here though, it&#8217;s just a visual effect &#8211; you don&#8217;t have to click on the green bit that slides in, you can click any part of it:<\/p>\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_vYmvPNd\" data-src=\"\/\/codepen.io\/anon\/embed\/vYmvPNd?height=450&amp;theme-id=1&amp;slug-hash=vYmvPNd&amp;default-tab=css,result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed vYmvPNd\" title=\"CodePen Embed vYmvPNd\" class=\"cp_embed_iframe lazyload\" style=\"width:100%;overflow:hidden\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" data-load-mode=\"1\">CodePen Embed Fallback<\/iframe><\/div>\n\n<p>The cool thing about these is you can give the visitor an additional call to action (though personally, I&#8217;d have used red instead of green for the cancel button).<\/p>\n<h2 class=\"wp-block-heading\" id=\"css-button-hover-background-change\">CSS Button hover background change<\/h2>\n<p>OK, time to think outside the box.<\/p>\n<p>I mean that literally &#8211; why not have our CSS button&#8217;s hover effect change something other than the actual button itself? Like the background, maybe?<\/p>\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_wvdROKR\" data-src=\"\/\/codepen.io\/anon\/embed\/wvdROKR?height=450&amp;theme-id=1&amp;slug-hash=wvdROKR&amp;default-tab=css,result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed wvdROKR\" title=\"CodePen Embed wvdROKR\" class=\"cp_embed_iframe lazyload\" style=\"width:100%;overflow:hidden\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" data-load-mode=\"1\">CodePen Embed Fallback<\/iframe><\/div>\n\n<p>This is one of those cool ideas that&#8217;s good to have in your back pocket for future use.<\/p>\n<h2 class=\"wp-block-heading\" id=\"hidden-door-css-button-effect\">Hidden door CSS button effect<\/h2>\n<p>Oh! look, a Twitter icon. I guess I just click this and it takes me to the user&#8217;s twitter page. Like the 10 zillions other Twitter buttons I&#8217;ve seen in my life.<\/p>\n<p>Oh well, might as well click it:<\/p>\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_zYwybrB\" data-src=\"\/\/codepen.io\/anon\/embed\/zYwybrB?height=450&amp;theme-id=1&amp;slug-hash=zYwybrB&amp;default-tab=css,result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed zYwybrB\" title=\"CodePen Embed zYwybrB\" class=\"cp_embed_iframe lazyload\" style=\"width:100%;overflow:hidden\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" data-load-mode=\"1\">CodePen Embed Fallback<\/iframe><\/div>\n\n<p>Woah! Is it a Twitter button, or the entrance to a shuttle bay on the Starship Enterprise?<\/p>\n<p>Although there is some JS in the Pen, that&#8217;s just to import the Twitter link, in this case to creator <a href=\"https:\/\/twitter.com\/twholman\" target=\"_blank\" rel=\"noopener nofollow\">Tim Holman<\/a>&#8216;s Twitter link. The JS doesn&#8217;t have any effect on how the button works &#8211; and of course you don&#8217;t have to use it for Twitter &#8211; you can adapt it for anything.<\/p>\n<h2 class=\"wp-block-heading\" id=\"animated-pac-man-css-button-on-hover\">Animated Pac-Man CSS button on hover<\/h2>\n<p>Here&#8217;s an incredible piece of work by <a href=\"https:\/\/codepen.io\/dariocorsi\" target=\"_blank\" rel=\"noopener nofollow\">Dario Corsi<\/a>. Check it out:<\/p>\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_VwbqRer\" data-src=\"\/\/codepen.io\/anon\/embed\/VwbqRer?height=450&amp;theme-id=1&amp;slug-hash=VwbqRer&amp;default-tab=css,result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed VwbqRer\" title=\"CodePen Embed VwbqRer\" class=\"cp_embed_iframe lazyload\" style=\"width:100%;overflow:hidden\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" data-load-mode=\"1\">CodePen Embed Fallback<\/iframe><\/div>\n\n<p>There&#8217;s <em>so<\/em> much to appreciate about this:<\/p>\n<ul class=\"wp-block-list\">\n<li>It&#8217;s pure CSS &#8211; not an image or line of JS insight<\/li>\n<li>Of all the ghosts, Dario chose <a href=\"https:\/\/en.wikipedia.org\/wiki\/Ghosts_(Pac-Man)#Blinky\" target=\"_blank\" rel=\"noopener nofollow\">Blinky<\/a>, the leader of the ghosts and Pac-Man&#8217;s arch enemy<\/li>\n<li>Blinky&#8217;s eyes look in the direction he&#8217;s moving!<\/li>\n<li>The animation stops in-place when you stop hovering, rather than resetting to the beginning<\/li>\n<\/ul>\n<p>Great stuff!<\/p>\n<h2 class=\"wp-block-heading\" id=\"a-true-3d-button-animation-using-three.js\">A true 3D button animation using three.js<\/h2>\n<p>This one isn&#8217;t pure CSS, but I thought I&#8217;d include this to show you the type of things that are possible when bringing JS into the picture. This is a &#8220;true&#8221; 3D hover effect button by <a href=\"https:\/\/codepen.io\/robin-dela\" target=\"_blank\" rel=\"noopener nofollow\">Robin Delaporte<\/a>:<\/p>\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_wvdROMR\" data-src=\"\/\/codepen.io\/anon\/embed\/wvdROMR?height=450&amp;theme-id=1&amp;slug-hash=wvdROMR&amp;default-tab=css,result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed wvdROMR\" title=\"CodePen Embed wvdROMR\" class=\"cp_embed_iframe lazyload\" style=\"width:100%;overflow:hidden\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" data-load-mode=\"1\">CodePen Embed Fallback<\/iframe><\/div>\n\n<p>Look at that! If you move your mouse around the button area, the shapes react to your mouse movements.<\/p>\n<p>Now, when I say &#8220;true&#8221; 3D, obviously it&#8217;s not <em>actually<\/em> 3D since it&#8217;s a flat image on your screen! I just mean that there&#8217;s a Z-axis involved. These are not simply 2D objects at different depths, moving at different rates (as is the case with <a href=\"https:\/\/alvarotrigo.com\/blog\/how-to-create-a-parallax-effect-with-css-only\/\">parallax<\/a> ). The angle and position of the object along the Z-axis are calculated in JS. This means you can move or rotate it along the third dimension, and add lighting effects to really bring it to life.<\/p>\n<p>To do this, Robin has used a JS library called <a href=\"https:\/\/threejs.org\/\" target=\"_blank\" rel=\"noopener nofollow\">three.js<\/a> &#8211; a very popular library for making 3D animations on the web, and it&#8217;s actually fairly easy to get started with. Of course, you&#8217;ll need some practice to create something like this, but if you really study it, you can make some amazing stuff.<\/p>\n<a href=\"https:\/\/alvarotrigo.com\/fullPage\/\">\n    <video width=\"680\" height=\"382\" controls muted autoplay loop playsinline>\n    <source src= \"https:\/\/cdn.jsdelivr.net\/gh\/alvarotrigo\/blog-assets\/videos\/fullPage_intro.mp4\" type=\"video\/mp4\" \/>\n    <source src= \"https:\/\/cdn.jsdelivr.net\/gh\/alvarotrigo\/blog-assets\/videos\/fullPage_intro.webm\" type=\"video\/webm\"\/>\n    Your browser does not support the video tag.\n    <\/source><\/source><\/video>\n<\/a>\n<p>Speaking of easy-to-use JS libraries that help you make great stuff, you might also like <a href=\"https:\/\/alvarotrigo.com\/fullPage\/\">fullPage.js<\/a>. fullPage helps you make gorgeous one-page sites quickly and easily, and it works like a charm alongside WordPress, React, and Vue.<\/p>\n<p>We&#8217;ve been talking a lot about using animations to improve the visual appeal of your site in this post, and if you&#8217;re into this sort of thing have a look at the <a href=\"https:\/\/alvarotrigo.com\/fullPage\/#examples\">effects you can use with fullPage<\/a>. You can use different effects as you scroll from one full-screen page to the next (the <a href=\"https:\/\/alvarotrigo.com\/fullPage\/extensions\/cards.html#firstPage\">card effect<\/a> is pretty snazzy for instance), or in sliders. All of this is built-in and works out of the box.<\/p>\n<p>And of course, you can integrate all of the awesome CSS button hover effects we&#8217;ve just looked at into your fullPage.js site! In fact, the background image change button could work really well on a full-page site &#8211; give <a href=\"https:\/\/alvarotrigo.com\/fullPage\/\">fullPage.js<\/a> a try and see what you can come up with!<\/p>\n<h2 class=\"wp-block-heading\" id=\"related-articles\">Related articles<\/h2>\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/alvarotrigo.com\/blog\/7-scroll-text-animations-css-and-js\/\">Scroll text animations with CSS and JS<\/a><\/li>\n<li><a href=\"https:\/\/alvarotrigo.com\/blog\/css-text-animations\/\">All type of CSS Text Animations<\/a><\/li>\n<li><a href=\"https:\/\/alvarotrigo.com\/blog\/css-animations-scroll\/\">How to create animations on scroll with JS and CSS<\/a><\/li>\n<li><a href=\"https:\/\/alvarotrigo.com\/blog\/jquery-smooth-scroll\/\">Create jQuery smoth scrolling &#8211; 3 ways<\/a><\/li>\n<li><a href=\"https:\/\/alvarotrigo.com\/blog\/creating-a-html-game-with-css-transitions-and-javascript\/\">Creating a HTML game with CSS transitions and JavaScript<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Use this buttons CSS hover effects and you&#8217;ll impress your visitors for sure! Gradients, shadows, transitions, rotations, animations and much more!<\/p>\n","protected":false},"author":6,"featured_media":4741,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[106],"tags":[9,16],"class_list":["post-4742","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-css","tag-css","tag-design"],"acf":[],"_links":{"self":[{"href":"https:\/\/alvarotrigo.com\/blog\/wp-json\/wp\/v2\/posts\/4742","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alvarotrigo.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alvarotrigo.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alvarotrigo.com\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/alvarotrigo.com\/blog\/wp-json\/wp\/v2\/comments?post=4742"}],"version-history":[{"count":4,"href":"https:\/\/alvarotrigo.com\/blog\/wp-json\/wp\/v2\/posts\/4742\/revisions"}],"predecessor-version":[{"id":8629,"href":"https:\/\/alvarotrigo.com\/blog\/wp-json\/wp\/v2\/posts\/4742\/revisions\/8629"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/alvarotrigo.com\/blog\/wp-json\/wp\/v2\/media\/4741"}],"wp:attachment":[{"href":"https:\/\/alvarotrigo.com\/blog\/wp-json\/wp\/v2\/media?parent=4742"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alvarotrigo.com\/blog\/wp-json\/wp\/v2\/categories?post=4742"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alvarotrigo.com\/blog\/wp-json\/wp\/v2\/tags?post=4742"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}