<!-- HTML -->
<a class="a-thumb"><img src="/img/proxy-thumb.gif" /><span> </span></a>
 
/* CSS */
a.a-thumb {
	border: 0px solid black;
	position: relative;}
a.a-thumb img {
	width: 60px;
	height: 60px;
	border: 0;}
a.a-thumb span {
	background-color: #000000;
	position: absolute;
	top: 0;
	left: 0;
	width: 60px;
	height: 60px;
	z-index: 100;
	filter: alpha(opacity=20);
	-moz-opacity: 0.2;
	opacity: 0.2;}

 

真的很经典 ,注意其中两个(img和span)的width和height要保持一致。

相关文章:

  • 2022-12-23
  • 2021-07-22
  • 2021-12-20
  • 2021-05-19
  • 2021-10-25
  • 2021-12-12
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-25
  • 2022-12-23
  • 2021-11-06
  • 2021-08-16
  • 2021-11-28
相关资源
相似解决方案