#Day38 of 100daysofcode
Today was a productive day
I manage to do lot of tasks
I also enjoyed my second Martial Arts Class and it was sooo intensive but fun… I am absolutely in love ![]()
Today I did 2 codepens and learned about z-index
Transition on a login card ![]()
Some theory on z-index is :
The z-index property can change the layer order of an element and change the position of an element on its z-axis.
The z-index property is defined by a positive or negative integer value, or by an auto value. An auto value gives the element the same layer order as its parent’s.
- auto: Same layer order as its parent’s. This is the default value.
- number: Sets the layer order of the element. Negative numbers can also be used.
- inherit: Inherits this property from its parent element.
The
z-indexproperty will only work on elements whose position has been defined asabsolute,fixed, orrelative.
Twitter: https://twitter.com/henna_dev/status/1504237152674238469
