Ie filter finishing _ HTML/Xhtml _ webpage Creation

Source: Internet
Author: User
Ie makes us develop things that have a headache in the past. He is different from others. He does not support things that others do not support. Today, I will briefly introduce one of his features-filter. Ie makes us develop things that have a headache in the past. He is different from others. He does not support things that others do not support. Today, I will briefly introduce one of his features-filter.

  
CSS filters are mainly used to achieve various special effects of images. It plays an amazing role in website production. The CSS filter can make the website more beautiful. In CSS, the filter attribute represents the meaning of the filter, which can set the filter effects of text, images, and tables.
Syntax: STYLE = {"filter: filtername (fparameter1, fparameter2 ...)}
Note: Filtername indicates the Filter Name. fparameter1 and fparameter2 are filter parameters.
13 CSS Filter Effects
1. filter: chroma -- make a special color transparent.
Syntax: STYLE = "filter: Chroma (Color = color )"
Note: color: # rrggbb format, any.
2. filter: blur-create a high-speed moving effect, that is, blur effect.
Syntax: STYLE = "filter: Blur (Add = add, Direction = direction, Strength = strength )"
Note: Add: generally 1, or 0; Direction: angle, 0-315 degrees, step size is 45 degrees; Strength: the value of the effect growth, generally 5.
3. filter: FlipV -- create a vertical image.
Syntax: STYLE = "filter: FlipV"
4. filter: alpha -- set the Transparency Level
Syntax: STYLE = "filter: Alpha (Opacity = opacity, FinishOpacity = finishopacity, Style = style, StartX = startX, StartY = startY, FinishX = finishX, FinishY = finishY )"
Annotation: Opacity: start value; value range: 0-100; 0: transparent;: source image; FinishOpacity: target value; Style: 1, 2, or 3; StartX: any value; StartY: any value
5. filter: FlipH -- create a horizontal image.
Syntax: STYLE = "filter: FlipH"
6. filter: glow -- add a glow outside the edge of the nearby object.
Syntax: STYLE = "filter: Glow (Color = color, Strength = strength )"
Annotation: Color: Luminous Color; Strength: intensity (0-100)
7. filter: mask -- create a transparent mask on the object.
Syntax: STYLE = "filter: Mask (Color = color )"
8. filter: Xray-changes the object to an X-ray.
Syntax: STYLE = "filter: Xray"
9. filter: invert -- reversed.
Syntax: STYLE = "filter: Invert"
10. filter: DropShadow -- creates a fixed shadow of an object.
Syntax: STYLE = "filter: DropShadow (Color = color, OffX = offX, OffY = offY, Positive = positive )"
Annotation: Color: # rrggbb format, arbitrary; Offx: X axis offset value; Offy: Y axis offset value; Positive: 1 or 0.
11. filter: gray-grayscale the image.
Syntax: STYLE = "filter: Gray"
12. filter: wave-ripple effect.
Syntax: filter: Wave (Add = add, Freq = freq, LightStrength = strength, Phase = phase, Strength = strength)
Annotation: Add: generally 1, or 0; Freq: deformation value; LightStrength: Deformation percentage; Phase: angle deformation percentage; Strength: deformation Strength.
13. shadow -- create an offset fixed shadow.
Syntax: filter: Shadow (Color = color, Direction = direction)
Annotation: Color: # rrggbb format; Direction: angle, 0-315 degrees, step size: 45 degrees.
When using CSS filters, note that filters are often appended to p in the current website layout. If you only set an id for p in the html code, in this way, the filter will not work. You must define this id attribute in style or css. Otherwise, the filter will not work.



You only need one sentence of code. During website creation, images can be freely switched like PPT documents, which is very simple! Before conversion, we need to understand three basic codes:
Rotating: style = "filter: progid: DXImageTransform. Microsoft. BasicImage (rotation: 1 )"
Background Color: style = "filter: Chroma (Color = #000000 )"
Set gradient: style = "position: relative; left: 0px; top: 0px; filter: progid: DXImageTransform. microsoft. gradient (startcolorstr = # ff0000, endcolorstr = # ffff00, gradientType = 1 )"
Wonderful Review: CSS Filter effects of website production
The following is an image conversion filter book, hoping to help friends ~!!!
Random Transformation: progid: DXImageTransform. Microsoft. RevealTrans (enabled = true, transition = 23)
Square gradient: progid: DXImageTransform. Microsoft. Iris (irisstyle = square, motion = in)
Square gradient: progid: DXImageTransform. Microsoft. Iris (irisstyle = square, motion = out)
Cross fading: progid: DXImageTransform. Microsoft. Iris (irisstyle = cross, motion = in)
Cross increase: progid: DXImageTransform. Microsoft. Iris (irisstyle = cross, motion = out)
Star size: progid: DXImageTransform. Microsoft. Iris (irisstyle = star, motion = out)
Star gradient: progid: DXImageTransform. Microsoft. Iris (irisstyle = star, motion = in)
Circular gradient: progid: DXImageTransform. Microsoft. Iris (irisstyle = circle, motion = out)
Round gradient: progid: DXImageTransform. Microsoft. Iris (irisstyle = circle, motion = in)
Diamond gradient: progid: DXImageTransform. Microsoft. Iris (irisstyle = diamond, motion = in)
Diamond gradient: progid: DXImageTransform. Microsoft. Iris (irisstyle = diamond, motion = out)
Plus sign: progid: DXImageTransform. Microsoft. Iris (irisstyle = plus, motion = out)
Plus sign: progid: DXImageTransform. Microsoft. Iris (irisstyle = plus, motion = in)
Erasure up: progid: DXImageTransform. Microsoft. Blinds (bands = 1, direction = up)
Downward Erasure: progid: DXImageTransform. Microsoft. Blinds (bands = 1, direction = down)
Erase to the left: progid: DXImageTransform. Microsoft. Blinds (bands = 1, direction = left)
Right erase: progid: DXImageTransform. Microsoft. Blinds (bands = 1, direction = right)
Central and left contraction: progid: DXImageTransform. Microsoft. Barn (motion = in, orientation = vertical)
Random dissolution: progid: DXImageTransform. Microsoft. RandomDissolve (enable = true)
Up and down the middle part: progid: DXImageTransform. Microsoft. Barn (motion = out, orientation = horizontal)
Center left and right expand: progid: DXImageTransform. Microsoft. Barn (motion = out, orientation = vertical)
Random horizontal line: progid: DXImageTransform. Microsoft. RandomBars (orientation = horizontal)
Random vertical line: progid: DXImageTransform. Microsoft. RandomBars (orientation = vertical)
Middle and Lower shrinkage: progid: DXImageTransform. Microsoft. Barn (motion = in, orientation = horizontal)
Standard gradient conversion: BlendTrans (enabled = true, percent = 10)
Adjustable gradient conversion: progid: DXImageTransform. Microsoft. Fade (enabled = ture, overlap = 1.0)
Insert: progid: DXImageTransform. Microsoft. Inset (enabled = ture) to the right)
Hidden Stretch: progid: DXImageTransform. Microsoft. Stretch (stretchstyle = hide)
Push Stretch: progid: DXImageTransform. Microsoft. Stretch (stretchstyle = push)
Rotating Stretch: progid: DXImageTransform. Microsoft. Stretch (stretchstyle = spin)
Anti-clock: progid: DXImageTransform. Microsoft. RadialWipe (wipestyle = wedge)
Radiation radiation: progid: DXImageTransform. Microsoft. RadialWipe (wipestyle = radial)
Mosaic effect: progid: DXImageTransform. Microsoft. Pixelate (maxSquare = 20)
Time: progid: DXImageTransform. Microsoft. RadialWipe (wipestyle = clock)
Lower-left step: progid: DXImageTransform. Microsoft. Strips (motion = leftdown)
Upper right of the tier: progid: DXImageTransform. Microsoft. Strips (motion = rightup)
Step top left: progid: DXImageTransform. Microsoft. Strips (motion = leftup)
Bottom right of the tier: progid: DXImageTransform. Microsoft. Strips (motion = rightdown)
Spiral contraction: progid: DXImageTransform. Microsoft. Spiral (gridSizeX = 20, gridSizeY = 20)
Windmill rotation: progid: DXImageTransform. Microsoft. Wheel (spokes = 20)
Z-shaped twists and turns: progid: DXImageTransform. Microsoft. Zigzag (gridSizeX = 20, gridSizeY = 20)
H Blinds: progid: DXImageTransform. Microsoft. Blinds (bands = 6, direction = down)
: Progid: DXImageTransform. Microsoft. Blinds (bands = 6, direction = up)
: Progid: DXImageTransform. Microsoft. Blinds (bands = 60, direction = down)
: Progid: DXImageTransform. Microsoft. Blinds (bands = 60, direction = up)
V Blinds: progid: DXImageTransform. Microsoft. Blinds (bands = 6, direction = right)
: Progid: DXImageTransform. Microsoft. Blinds (bands = 6, direction = left)
: Progid: DXImageTransform. Microsoft. Blinds (bands = 60, direction = right)
: Progid: DXImageTransform. Microsoft. Blinds (bands = 60, direction = left)
Exchange Slide: progid: DXImageTransform. Microsoft. Slide (slidestyle = swap, bands = 1)
: Progid: DXImageTransform. Microsoft. Slide (slidestyle = swap, bands = 20)
Push Slide: progid: DXImageTransform. Microsoft. Slide (slidestyle = push, bands = 1)
: Progid: DXImageTransform. Microsoft. Slide (slidestyle = push, bands = 20)
Hidden slides: progid: DXImageTransform. Microsoft. Slide (slidestyle = hide, bands = 1)
: Progid: DXImageTransform. Microsoft. Slide (slidestyle = hide, bands = 20)
Fuzzy push: progid: DXImageTransform. Microsoft. GradientWipe (GradientSize = 0.5, wipestyle = 0, motion = forward)
: Progid: DXImageTransform. Microsoft. GradientWipe (GradientSize = 0.5, wipestyle = 0, motion = reverse)
: Progid: DXImageTransform. Microsoft. GradientWipe (GradientSize = 0.5, wipestyle = 1, motion = forward)
: Progid: DXImageTransform. Microsoft. GradientWipe (GradientSize = 0.5, wipestyle = 1, motion = reverse)
Portrait Board: progid: DXImageTransform. Microsoft. CheckerBoard (direction = right, squaresX = 12, squaresY = 12)
: Progid: DXImageTransform. Microsoft. CheckerBoard (direction = left, squaresX = 12, squaresY = 12)
: Progid: DXImageTransform. Microsoft. Checkerboard (direction = right, squaresX = 2, squaresY = 2)
: Progid: DXImageTransform. Microsoft. Checkerboard (direction = left, squaresX = 2, squaresY = 2)
: Progid: DXImageTransform. Microsoft. Checkerboard (direction = right, squaresX = 60, squaresY = 60)
: Progid: DXImageTransform. Microsoft. Checkerboard (direction = left, squaresX = 60, squaresY = 60)
Horizontal Board: progid: DXImageTransform. Microsoft. CheckerBoard (direction = down, squaresX = 12, squaresY = 12)
: Progid: DXImageTransform. Microsoft. CheckerBoard (direction = up, squaresX = 12, squaresY = 12)
: Progid: DXImageTransform. Microsoft. Checkerboard (direction = down, squaresX = 2, squaresY = 2)
: Progid: DXImageTransform. Microsoft. Checkerboard (direction = up, squaresX = 2, squaresY = 2)
: Progid: DXImageTransform. Microsoft. Checkerboard (direction = down, squaresX = 60, squaresY = 60)
: Progid: DXImageTransform. Microsoft. Checkerboard (direction = up, squaresX = 60, squaresY = 60)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.