💬 Explanation:
👉 The :active pseudo class is applied to an element whenever it is clicked or activated using the keyboard
👉 In the default state, we set a box shadow (with no blur) and offset it by 4px both right and down
👉 In the active state, we remove the offset of the box shadow but meanwhile offset the element itself by 4px in both sides to achieve this effect
#css
#csstricks
#webdesign
#frontend
#reactjs
#html
#vuejs
#javascript
#webdevelopment
On this page of the site you can watch the video online CSS Analog Button CSS Button Box Shadow Beautiful button hover effect with a duration of hours minute second in good quality, which was uploaded by the user CodeMentor 28 August 2024, share the link with friends and acquaintances, this video has already been watched 4,720 times on youtube and it was liked by 333 viewers. Enjoy your viewing!