How to write transparent CSS for images using filters

How to write transparent CSS for images using filters
How to write transparent CSS for images using filters

Copy code
The code is as follows:

html>body .naver_on { width:75px;height:54px;background:url(http://image.wshang.com/index/naver_on.png) no-repeat ;}
* html .naver_on { width:75px; height:54px; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="http://image.wshang.com/index/naver_on.png");background:none;}

<<:  Classes in TypeScript

>>:  Two usages of iFrame tags in HTML

Recommend

Docker-compose one-click deployment of gitlab Chinese version method steps

1. Introduction to gitlab Gitlab official address...

js canvas realizes rounded corners picture

This article shares the specific code of js canva...

Several magical uses of JS ES6 spread operator

Table of contents 1. Add attributes 2. Merge mult...

Detailed explanation of Docker compose orchestration tool

Docker Compose Docker Compose is a tool for defin...

HTML Tutorial: Collection of commonly used HTML tags (5)

Related articles: Beginners learn some HTML tags ...

MySQL turns off password strength verification

About password strength verification: [root@mysql...

Mysql multi-condition query statement with And keyword

MySQL multi-condition query with AND keyword. In ...

MySQL FAQ series: When to use temporary tables

Introduction to temporary tables What is a tempor...

jQuery plugin to achieve image suspension

This article shares the specific code of the jQue...

Detailed steps for Spring Boot packaging and uploading to Docker repository

Important note: Before studying this article, you...

Detailed explanation of the role of the new operator in Js

Preface Js is the most commonly used code manipul...

mysql replace part of the field content and mysql replace function replace()

[mysql] replace usage (replace part of the conten...