Get the App
SLTechnology News&Howtos  ›  Development  › 

How to realize img with translucent background by web

Shulou Source: shulou.com Published: 2022-06-03 06:05:41 11月16日 Update

This article mainly introduces web how to achieve img plus translucent background, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.

The code is as follows:

Mask-layer * {margin:0;padding: 0;} ul {margin:100px auto 0; width:200px;} img {border: 0 none;} li {background-color:#555;list-style: none; width: 146px; height: 220px;} a:hover {opacity: 0.6;}

Thank you for reading this article carefully. I hope the article "how to achieve img plus translucent background in web" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Tags: Articles background code value interest at the same time more friends knowledge editing industry information information channels channels reference learning help support Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL vpn OPPO Reno Microsoft Xiaomi