Get the App
SLTechnology News&Howtos  ›  Development  › 

How to use PNG Picture Web Page declaration class by HTML

Shulou Source: shulou.com Published: 2022-06-01 04:25:03 11月15日 Update

This article mainly explains the "HTML how to use PNG picture web page declaration class", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "HTML how to use PNG picture web page declaration class" bar!

We introduced JS, and we won the code:

DD_belatedPNG.fix ('')

1. We use png transparent image design in the css backup attribute. If we use png images in ".CSS5 {...}", we only need to make the following class declaration in "DD_belatedPNG.fix ('');" at this time, corresponding to the code:

DD_belatedPNG.fix ('.CSS5')

2. We use img tags in html to use png Tongming picture planning if the img we apply in the .CSS5 box introduces the png picture hope code:

DD_belatedPNG.fix ('.CSS5 img')

Analyze the above two points, when both environments are encountered, the code:

DD_belatedPNG.fix ('.CSS5 img,.CSS5')

That is, you can apply English capital commas to the corresponding names, and so on. If you encounter a html page that uses png tags in multiple places, whether it is backed by CSS or html img tags, we can use commas to spread out the combined names.

Thank you for your reading, the above is the content of "how HTML uses PNG picture web page declaration class". After the study of this article, I believe you have a deeper understanding of how HTML uses PNG picture web page declaration class, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Tags: Pictures web pages code learning content names tags commas applications and so on at the same time backup backing location capitalization that is attributes ideas situations parentheses Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Apple macOS MariaDB Redmi