Method and device for realizing picture gradual and gradual fade-out effect on web browser
A web browser, gradual and gradual exit technology, applied in the network field, can solve problems such as affecting the display effect of pictures, damaged pictures, damaged pictures, etc., and achieve the effect of improving the display effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0033] Such as figure 1 As shown, in one embodiment, a method for realizing the gradual and fade-out effect of pictures on a web browser includes the following steps:
[0034] Step S102, setting a mask layer above the image display area.
[0035] Such as figure 2 As shown in , the mask layer is a web page container element perpendicular to the coordinate direction of the display that displays the picture, above the picture display area, with a specified color (usually black or gray) as the background. Preferably, the mask layer is set directly above the picture display area, and is consistent with the size of the picture display area. In this way, when the transparency of the mask layer is adjusted, the transparency of the image display will also change accordingly. Setting the mask layer to be the same size as the image display area can avoid that when adjusting the transparency of the mask layer, it will not affect the images outside the image display area. web element. ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 