Web design: css3 gradient

The tutor shows an effect availabe from css3.

CSS code can be used to change the appearance of web-generated content. CSS refers to the appearance as the style.

A gradient signifies a color transition. For example:

Hello. The background shows a gradient from red to blue, left to right (if supported).

Hello. The background shows a gradient from red to blue, top left to bottom right (if supported).

Hello. The background shows a gradient from red to white to blue (if supported).

The effects above are not visible from every computer; I’d argue that, from the vast majority, they probably are. I’ll discuss compatibility, as well as the specific css code to accomplish gradients, in future posts:)

Source:

w3schools.com

Jack of Oracle Tutoring by Jack and Diane, Campbell River, BC.

Leave a Reply