Set a linear gradient background for the <div> element, going from the top to bottom, transitioning from "rgba(0,255,0,0.2)" to "rgba(0,255,0,1)".

Hint: RGBA is RGB color values with an alpha channel (which specifies the opacity).

Edit This Code:
Correct Code:
Go to
Reset Score
Close This Menu


CSS Selectors
CSS How To...
CSS Background
CSS Border
CSS Margin
CSS Padding
CSS Height/Width
CSS Box Model
CSS Outline
CSS Text
CSS Font
CSS Links
CSS Lists
CSS Tables
CSS Display/Visibility
CSS Positioning
CSS Overflow
CSS Align
CSS Combinators
CSS Pseudo-classes
CSS Pseudo-elements
CSS Opacity
CSS Attribute Selectors
CSS Rounded Corners
CSS Border Images
CSS Backgrounds
CSS Colors
CSS Gradients
CSS Shadow Effects
CSS Text Effects
CSS Web Fonts
CSS 2D Transforms
CSS 3D Transforms
CSS Transitions
CSS Animations


Reset the Score?

This will reset the score of ALL 138 exercises.

Are you sure you want to continue?



You have finished all 138 CSS exercises.

Share your score on facebook:

Get Certified!

Take our CSS Developer Certificate to prove that you have fundamental knowledge of web development using CSS.

Powered by