Get the App
SLTechnology News&Howtos  ›  Development  › 

How to use PNG transparency defined by CSS to be compatible with browsers

Shulou Source: shulou.com Published: 2022-06-03 08:43:08 11月15日 Update

This article focuses on "how to use the PNG transparency effect defined by CSS to be compatible with browsers". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to use the PNG transparency defined by CSS to be compatible with browsers.

The code is as follows:

.mycls {

Width: 48px

Height: 48px

Background: url (20090318230119136.png) no-repeat left top

_ background: none

_ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader (enabled=true, sizingMethod=scale,src= "20090318230119136.png")

}

At this point, I believe you have a deeper understanding of "how to use the PNG transparency effect defined by CSS to be compatible with browsers". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Tags: Effects browser browsing content learning practical deeper code interest practicality practical simple operation method more friends website channel query Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple Xiaomi Shulou Tech Info NVidia Shulou Technology