Translucent mixing effect is often seen in the game, the effect that called a good. One day, Curiosity began to wonder how this effect is achieved. But I did not learn digital image processing and graphics, so had to rely on intuitive speculation.
According to life experience, the two film will be folded together with translucent effect, then imagine: from the bitmap A and b in the corresponding position t
. style. width = de. clientWidth + "px" mask. style. height = de. clientHeight + "px" ;}; // Add the show method mask. show = function () {// hide the page's scroll bar document [isIE
There is no difficulty in this effect. The most difficult part is the implementation of translucent. The opacity of CSS3 and the alpha of IE can both be translucent, but that is the tran
This article describes a simple example of the effect of a page translucent mask written in JavaScript, including a full-screen display of the div layer, if you want to know more about the effect of the translucent mask layer, you can use the plug-in to implement the effect of the translucent mask layer. Here we will share with you how to use native js to impleme
This article mainly introduces PHP using Imagecopymerge () function to create a translucent watermark, with a certain reference value, interested in small partners can refer to, hope to help everyone.
Use the Imagecopymerge () function to create a translucent watermark for everyone's reference, as follows
Translucent watermark:
This example uses the Imagecop
Shape use, gradient, split line, border, translucent, translucent shadow effect.Let's start with a quick look at the properties common in shape. (Refer to the API documentation for more information)Reprint Please specify: rflyee_: http://blog.csdn.net/rflyee/article/details/20785495Xmlns:android= "Http://schemas.android.com/apk/res/android"android:shape=["Rectangle" | "Oval" | "Line" | "Ring"] >---default t
It is not difficult to achieve the translucent effect through Div + CSS on the webpage. Today we will look at a method implemented in winfrom:
As follows:
When the mask layer is displayed:
The source code of the custom Mask Layer Control is as follows:
View code
Using System; Using System. drawing; Using System. Windows. forms; Using System. componentmodel; Namespace Myopaquelayer { /// /// Custom Control:
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
Option Explicit
''' Window translucent Declaration startsPrivate Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long) As LongPrivate Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As LongPrivate Declare Function SetLayeredWindowAttributes Lib "user32" (ByVal hwnd As Long, ByVal crKey As Long, ByVal bAlpha As
This article demonstrates how to implement an intermediate customer zone that imitates the QQ interface. QQ can adjust the transparency of the interface, but the transparency has become translucent even in the middle customer area. After all, the customer zone is the most important part of the software and must interact with users. Transparency affects operations. Therefore, the customer zone here does not learn QQ and is always opaque. To implement t
Js + CSS Implementation Method to bring up a translucent div layer with a center background
This article mainly introduces how to use javascript + CSS to pop up the center background translucent div layer. It involves the operation skills of javascript operations to pop up the div layer, which is very useful. For more information, see
This article describes how to use JavaScript + CSS to bring up a
The effects of GTK in directfb differ greatly from that in X11. Generally, you cannot use the method in X11 to make the window transparent. Therefore, after long-term research, GTK is finally enabled.
The window (gtkwindow) achieves a translucent effect under directfb. The fundamental principle of this method is to map the surface on the gtkwindow using gdkpixmap. method 1: In configure-event, allocate a gdkpixmap that matches the window and make it
This article demonstrates how to implement an intermediate customer zone that imitates the QQ interface. QQ can adjust the transparency of the interface, but the transparency has become translucent even in the middle customer area. After all, the customer zone is the most important part of the software and must interact with users. Transparency affects operations. Therefore, the customer zone here does not learn QQ and is always opaque. To implement t
HTML div always vertically centered translucent pop-up effectOriginal: HTML div layer Expansion and contraction of the special effects source code downloadSource code: Http://www.zuidaima.com/share/1550463332846592.htmHTML div always vertically centered translucent pop-up layer effects source code download
Today we are sharing a jquery based horizontal accordion picture Carousel Focus Map Effect source code. Accordion effect is a picture of a cascade together, the mouse over the picture can be expanded to complete the picture, this effect is very common, so the application is also very broad, you can try this jquery focus map.
Run Effect chart:
---------------------------------effect Demo Source Download---------------------------------
For everyone to share the jquery
First, we sometimes want to do their own control is translucent or transparent, like a translucent form, I after a period of time query, found that this is achievable, we look at its implementation and bring some problems. First: You need windowless support when making controls, which means that the control does not need a window. If the control has a window, then we need to deal with a lot of trouble with
Today in the interface, found that before the iOS7.0 under the good interface in the iOS7.1 under the problem:1.navigationBar background image, the color has become lighter. Serious look can find 7.1:7 color light.7.07.1fix: The original is 7.1 navigationbar background map The default translucent will show, as long as the translucent hook off the good2. Modify the color, feel no problem, right? One run foun
Use Js or Css filters to implement the IE6PNG image translucent effect in IE6. ie6ie6png
Next we will introduce severalSolution to Opacity of PNG images in IE61. Use your own PNG to let IE6 go
When creating a PNG Image, save it as a GIF image, because IE6 supports gifimage transparency, and then defines
.pngtest{ background:url(mark.png); _background:url(mark.gif);}
Advantages: convenient, fast, and easy to use
Disadvantage: For PNG images, this metho
This article mainly introduces the use of
CSS to set a translucent element of the relevant data, very good, with reference value, need to refer to a friend
. opacity{ Filter:alpha (opacity=50); /* IE */ -moz-opacity:0.5; /* Old version Mozilla */ -khtml-opacity:0.5; /* Old version Safari */ opacity:0.5; /* Support Opacity's browser */}
Used to set an element to be
Do you use CSS to set an element to be translucent? This article mainly introduces the use of CSS to set a translucent element of the relevant data, very good, with reference value, need to refer to the friend, hope to help everyone.
. opacity{ Filter:alpha (opacity=50); /* IE */ -moz-opacity:0.5; /* Old version Mozilla */ -khtml-opacity:0.5; /* Old version Safari */
This article mainly and everyone introduced the pure CSS to achieve the background image translucent content of the method, small series feel very good, and now share to everyone, but also for everyone to do a reference, hope to help everyone.
Recently made a landing interface, suddenly want to use this background image transparent, and the content of the effect of opaque, here I say one of my two ideas.
Effect Show
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.