IconHoverEffects | simple round icon hover effects with CSS transitions | Animation library
kandi X-RAY | IconHoverEffects Summary
kandi X-RAY | IconHoverEffects Summary
A set of simple round icon hover effects with CSS transitions and animations for your inspiration.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of IconHoverEffects
IconHoverEffects Key Features
IconHoverEffects Examples and Code Snippets
Community Discussions
Trending Discussions on IconHoverEffects
QUESTION
I try using transform:scale(1.2)
to obtain the effect of an appearing circle around the icon. transform
I added to the .icon-style:hover::after
.
Now this code is commented, please uncomment this code to see what I want to get.
For example I trying doing something like this: click. But scale
change position circle.
I read this article, but I don't now how to use transform-origin
in my CSS.
Demo: JSFiddle
...ANSWER
Answered 2019-Feb-20 at 19:57First of all, the transform in your hover (.icon-style:hover::after
) is overwriting your transform: translate(-50%, -50%);
. A way to fix it is to add the translate to the hover too:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install IconHoverEffects
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page