Now many sites like to use the translucent effect to display content, so that people look very comfortable, not like the real color background looks so thick, but we write the effect of the time is to hope that the translucent only in the background, so after testing, summed up a few of the background translucent, and the text is not
The problem in the project, before using the ietest test ie7,8 found that the background transparency setting is invalid, and then find the article to solve! Read some information and make a summary. Several IE translucent CSS stylesIE8 can write this-ms-filter: "Progid:DXImageTransform.Microsoft.Alpha (opacity=50)";IE7 can write Filter:progid:DXImageTransform.Microsoft.Alpha (opacity=50) in this way;Ie6,ie7,ie8 can write like this filter:alpha (opa
How to set the div translucent effect in CSS, CSS div translucent
How to set the div translucent effect in CSS:Setting the transparency of an element is used in many applications. The following describes how to set an element to translucent. Other transparent effects can be expanded by yourself.The code example is as
CSS3 creates a text translucent reflection effect, and css3 text translucent reflection/* ------------------ ITEYE pray for happiness (http://qidaoxingfu.iteye.com) original reprint please note -----------------*/
Effect. Ps, background line is the background of tulle, and has nothing to do with the effect of this article...The html code is as follows:Html code
There are two implementation methods
IV. The background is translucent, and the words in the DIV are not translucent.The Code is as follows:
The layer background is translucent, And the font color is also translucent.The Code is as follows:
* ****** The layer with filter must have the width attribute; otherwise, the filter is invalid. ********We can use a CSS Filter to set the filter effect on some HTML tags.Example: Black/white photo filter:
RGBA with translucent background and RGBA with translucent backgroundConcept
The so-called RGBA color is RGB three primary colors plus ALPHA. While adding colors to the background, the transparency feature is also provided.
Usage
Background: rgba (90, 90, 54, 0.5 );Support
Firefox 3.0.5
Supported
Safari
Supported
Google Chrome
Supported
IE
Fuck !!!!
What
Some features of IE8 often fail due to some unknown mysterious reasons.
Jack met two more. In fact, this is not met by the hacker. It has been a long time, but it has never taken the time to solve it, and it is time for the hacker to seek medical advice.
First, filter: Alpha is invalid.
The problem is that in IE8, CSS like filter: alpha (opacity = 35)CodeThere is no expected translucent effect, so I am wondering.
No remedies were found in the
[Cocos2dx tips] Implementation of translucent shield and pop-up box, cocos2dx translucent
Today, we will introduce the pop-up box and the small Implementation of the Screen Shield ~The pop-up box mainly uses the OnEnter () function in the cocos2dx lifecycle, it is the function that will be called when the Layer is addChild (so if you add the OnEnter code to init, the effect will be the same ~)The Screen Shi
Using translucent elements to design a Web page is beautiful and requires skill. Translucent effect refers to the color block, text or pictures are "diluted" or diluted, so that color fade, and revealing the rear content
In place, this effect can be very shocking, to draw a perfect text display area, or as a means of attracting attention to part of the image
But when using
you only want half the area is transparent, then you can set it to finishx=100, finishy=50)
To give you the following complete code for your reference: (The following number I am assuming that the picture height and width are 100, 200 pixels respectively)
Alpha (opacity=25, finishopacity=50, style=1, startx=0, Starty=1, finishx=200, finishy=100)
4:ok, what you should do is replace the pesky question mark with the value you want, set the parameters, and click OK. The steps to set up this is d
ordinate, here is the key, fill in what value that depends on your picture of high and wide, assuming that our picture height and width are 100, 200 pixels, Then you can write finishx=200, finishy=100. (If you only want half the area is transparent, then you can set it to finishx=100, finishy=50)
To give you the following complete code for your reference: (The following number I am assuming that the picture height and width are 100, 200 pixels respectively)
Alpha (opacity=25, finishopacity
in what value that depends on your picture of the high and wide, assuming that our picture height and width are 100, 200 pixels, then can be written as finishx= Finishy=100. (If you only want half the area is transparent, then you can set it to finishx=100, finishy=50)
To give you the following complete code for your reference: (The following number I am assuming that the picture height and width are 100, 200 pixels respectively)
Alpha (opacity=25, finishopacity=50, style=1, startx=0, Starty=1,
Have you used CSS? Of course, I mean, if you like web pages, have you used them? Good. Have you used its special effects? No? Come with me.Let me introduce css in a simple way. css does not belong to HTML. It belongs to the html auxiliary language. Before css is available, the webpage is static, but since css is available, the history of creating a web page is about to be rewritten. css can add a lot of dynamic effects that you cannot imagine to a web page. This is just one of them, because css
On the Win7 flagship version of the translucent effects, presumably everyone is very familiar with it, this is Win7 flagship computer representative of a typical, but also a lot of friends feel Win7 flagship computer strong enough to design a perfect embodiment, but recently a friend found a problem, After setting this translucent effect function, do not know why, sometimes do not cancel but this function i
This article describes the Android programming implementation of the Popupwindow screen background to become translucent effect of the method. Share to everyone for your reference, specific as follows:
When Android Popupwindow pops up, the screen background becomes translucent and the effect is common. There are many ways to achieve this. The easiest thing I can use is to set the transparency of the getwin
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.