One might think that the top and left properties, along with the positions absolute and fixed, don’t depend on an element’s environment, but that’s not so. For example, a left property may receive a percentage value that depends on the size of .offsetParent; also, em, vh and other units depend on their environment. Rather, transform and opacity are the only CSS properties that meet the conditions above.
Created
September 17, 2018 01:04
-
-
Save eh-am/ae9de7f44f3b4dbadda1f30769c1f228 to your computer and use it in GitHub Desktop.
Css Animations Course
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment