How to realize img with translucent background by web
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!