DEV Community

Code_Regina
Code_Regina

Posted on • Updated on

|CSS| CSS: Other Assorted Useful CSS Properties

          -Opacity and The Alpha Channel
-The Position Property
-CSS Transitions
Enter fullscreen mode Exit fullscreen mode




Opacity and The Alpha Channel

rgba(0, 209, 112, 0.5) the last one 0.5 is known as the alpha channel. The alpha channel determines the transparency of the color. The alpha channel values are from 0 - 1 not 0 - 255.

Opacity is a property that is set on an element that will govern the entire elements. Opacity is the degree to which content behind an element is hidden and is the opposite of transparency.

The Position Property

The position property sets how an element is positioned in a document. The top, right, bottom, and left properties determine the final location of positioned elements.

The property values can use things like static, relative, absolute, fixed and sticky.

CSS Transitions

transition is made up of the property name, duration, timing function and delay.

Top comments (0)