Heim >Web-Frontend >HTML-Tutorial >求代码!!我想做两张图片重叠 上边的图片透明 该如何做呢 初学者 求指教!!_html/css_WEB-ITnose

求代码!!我想做两张图片重叠 上边的图片透明 该如何做呢 初学者 求指教!!_html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-24 12:23:241312Durchsuche

html css 图片

我想做两张图片重叠 上边的图片透明 该如何做呢 初学者 求指教!!

回复讨论(解决方案)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>无标题文档</title><style type="text/css">#logo{background:url(https://developer.cdn.mozilla.net/media/img/mdn-logo-sm.png)no-repeat center;width:62px;height:71px;}	#logo img{filter:alpha(opacity=50); -moz-opacity:0.5; opacity:0.5;}</style></head><body><div id="logo">	<img  src="https://mozorg.cdn.mozilla.net/media/img/firefox/new/header-firefox.png?2013-06" / alt="求代码!!我想做两张图片重叠 上边的图片透明 该如何做呢 初学者 求指教!!_html/css_WEB-ITnose" ></div></body></html>

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn