CSS3 - text background gradient list

<Span> tag

Role - a few words or a word to make prominent

 

font-size property

Unit PX (pixels) em, rem, cm, mm, pt, pc

font-style property

  • normal - normal text display
  • italic - text in italics
  • oblique - Text Display inclined

 

 

 

 

color attribute

RGB hexadecimal color represented Method: The first two represent the red component, the green component in the middle of two of the last two blue component rgb (r, g, b)a positive integer ranging from 0 to 255

RGBA the RGB control parameters based on the increase of alpha transparency, wherein the transparent channel value of 0 to 1

color:#A983D8;
color:#EEFF66;
color:rgb(0,255,255);
color:rgba(0,0,255,0.5);

Vertical alignment

vertical-align属性:middle、top、bottom

 

 

 

 

 

list-style: none; removal list dots

 

 

 

 

 

 

 

Linear gradient

Color along a straight line transition: from left to right, right to left, top to bottom, etc.

Radial gradient

Circular or elliptical gradient, no color change along a straight line, but a mixture from a starting point in all directions

 

 

Guess you like

Origin www.cnblogs.com/expedition/p/11191242.html