好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

css实现的在图片上面添加文字说明_html/css_WEB-ITnose

css实现的在图片上面添加文字说明:
在一些图片效果中,图片上面会有文字说明,下面就通过代码实例介绍一下如何实现此效果。
代码实例如下:

      蚂蚁部落  .thediv{  width:400px;  height:200px;  position:relative;}img{  width:400px;  height:200px;}.thediv span{  width:400px;  height:50px;  display:block;  text-align:center;  line-height:50px;  background-color:#333;  filter:alpha(opacity=50);    -moz-opacity:0.5;    opacity:0.5;  position:absolute;  top:100px;  color:red;}   

蚂蚁部落欢迎您

查看更多关于css实现的在图片上面添加文字说明_html/css_WEB-ITnose的详细内容...

  阅读:36次