日期:2014-05-16  浏览次数:20923 次

li中嵌套2个div实现图片自动缩放
请教一下各位,下面的样式表应该怎么去写?
能够实现在手机上自动适应大小,图片会缩放

在电脑上看是这样的效果

在手机上看是这样的效果



<div class="intere mt20">
                <ul class="list clearfix">
                                    <li class="clearfix">
                                            <div class="list_li1">
                            <a target="_blank" href="http://www.cyzone.cn/a/20140310/255039.html"><img width="150" height="96" alt="" src="http://img0.cyzone.cn/uploadfile/2014/0310/thumb_150_96_20140310042747178.jpg"></a>
                           <!--  <em>创业故事</em> -->
                        </div>
                                            <div class="list_li2">
                            <a target="_blank" class="list_title" href="http://www.cyzone.cn/a/20140310/255039.html">创业确立优先级最重要:请先做一些“糟糕”的工作</a>
                            <div class="list_div">
                                
                                                                             <span>Ryan Hoover </span><em>2014-03-10 16:24</em>
                                                            </div>
          &nbs