to produce text effects, the most important thing is the settings in the extension panel (Figure 3). All CSS filters are listed in the filter under "Visual Effects". Select the Glow filter. , which can make the text have a glowing edge effect. The syntax format of the Glow filter is: Glow(Color=?, Strength=?), which has two parameters: Color determines the color of the halo. You can use hexadecimal codes such as ffffff, or words such as Red and Yellow. Represents; Strength represents the luminous intensity, ranging from 0 to 255. In this example we set the color to Red, the luminous intensity to 8, and then OK.
Next we apply this CSS style to the table. Move the cursor to the cell, click the label in the lower left corner of the document window to select the cell, and then click the newly created style in the CSS style panel. At this time, the label changes to indicate that the CSS style has been applied to the cell. We can't see the change in the document window. Press the F12 key to preview in IE, and the effect will appear (Figure 4).
How about it? It's not inferior to the filter effect in Photoshop. Putting a few of these special effects words on a webpage will make the webpage much more beautiful, and we can also use the PrintScreen key to capture the screen, and then paste and save it in the drawing program to make it a separate picture.
shadow word
There are two CSS filters that can produce shadow effects on text, namely Drowshadow and Shadow. The effects they produce are slightly different.
The steps for making shadow words are basically the same as making halo words. You just need to reselect a filter in the CSS style.
The syntax of the Drowshadow filter is as follows: DropShadow(Color=?, OffX=?, OffY=?, Positive=?).
Among them, Color represents the color of the shadow, expressed as a hexadecimal number; OffX and OffY respectively represent the amount of shadow deviation from the text position, in pixels; Positive is a logical value, 1 represents the creation of shadows for all opaque elements, 0 Represents the creation of visible shadows for all transparent elements.
For example, if the filter is set to DropShadow(Color=6699cc, OffX=2, OffY=2, Positive=1), the effect will be as shown in Figure 5.
Mask words
The CSS filter also provides us with a mask function, which can process the text part into a mask. If a suitable picture is used in the background, a beautiful hollow text effect can be produced.
Insert a 1×1 table into the document window, click the label in the lower left corner of the document window to select the entire table, select a suitable picture in the background image of the property inspector (as shown in Figure 6), and then enter the required text.
Next we add a Mask filter to the cell, the steps are similar to the previous two examples. Select Mask (Color=?) in the filter. This parameter determines the color of the mask. We choose white.
Note: The color selection of the text in this example is not important, because the text will be hollowed out in the final effect and the color will not be displayed.