Dreamweaver tips -- make css make webpage images translucent

Source: Internet
Author: User
Tags dreamweaver
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 has many special effects, for example, we will use css to make the image transparent today.

Maybe you will ask, isn't the GIF image transparent? Why is it so troublesome? Hey, can GIF be transparent, but translucent? That is obviously not acceptable, but css is acceptable. Come with me if you want to learn.

If it is completely transparent, it is of little significance. What's important is that it can make the image translucent. Don't you understand? Since it is translucent, anyone who has learned Photoshop should know that it is translucent, so that they can show the elements in the image in a half-transparent way! We can use this to achieve a lot of results, such as smoke effects. Of course, if you are willing to use your brains, you may be able to achieve even better results. Today we will only discuss how to set and use this special effect in Dreamweaver 4.

OK. Now, the premise is that you have to enable Dreamweaver 4. The following is the setup procedure: Have you ever used this tool? Dizzy! Download one.

1: In Dreamweaver 4, click window à css styles (or press shift + f11 on the keyboard) to bring up the css styles window.

2: in the css styles window, click the plus sign in the lower right corner to bring up the new style window. The settings are shown in the following figure:

3: Click OK to bring up a large window, style definition for. clarity. We will set it according to the following figure.

Maybe you have noticed Alpha (Opacity = ?, FinishOpacity = ?, Style = ?, StartX = ?, StartY = ?, FinishX = ?, FinishY = ?) There are a lot of question marks in this piece of code. We need to replace it with parameters. If you don't see the code, you will be afraid,

Related Article

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.