css照片有如层叠效果的实现方法

所属分类: 网页制作 / CSS 阅读数: 1636
收藏 0 赞 0 分享

如下所示:

显示上面照片效果css

CSS Code复制内容到剪贴板
  1. <!DOCTYPE html>    
  2. <!--headTrap<body></body><head></head><html></html>-->   
  3. <html>    
  4.     <head>    
  5.         <meta http-equiv="Content-Type" content="text/html; charset=utf-8">    
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge">    
  7. <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" />    
  8. <meta name="apple-mobile-web-app-capable" content="yes">    
  9. <meta name="apple-mobile-web-app-status-bar-style" content="black">    
  10. <meta name="format-detection" content="telephone=no">    
  11.   <title>《放羊和砍柴的》全集</title>    
  12.              
  13. <style>html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;line-height:1.6}body{-webkit-touch-callout:none;font-family:-apple-system-font,"Helvetica Neue","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;background-color:#f3f3f3;line-height:inherit}body.rich_media_empty_extra{background-color:#fff}body.rich_media_empty_extra .rich_media_area_primary:before{display:none}h1,h2,h3,h4,h5,h6{font-weight:400;font-size:16px}*{margin:0;padding:0}a{color:#607fa6;text-decoration:none}.rich_media_inner{font-size:16px;word-wrap:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.rich_media_area_primary{position:relative;padding:20px 15px 15px;background-color:#fff}.rich_media_area_primary:before{content:" ";position:absolute;left:0;top:0;width:100%;height:1px;border-top:1px solid #e5e5e5;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleY(0.5);transform:scaleY(0.5);top:auto;bottombottom:-2px}.rich_media_area_primary .original_img_wrp{display:inline-block;font-size:0}.rich_media_area_primary .original_img_wrp .tips_global{display:block;margin-top:.5em;font-size:14px;text-align:rightright;width:auto;overflow:hidden;text-overflow:ellipsis;whitewhite-space:nowrap;word-wrap:normal}.rich_media_area_extra{padding:0 15px 0}.rich_media_title{margin-bottom:10px;line-height:1.4;font-weight:400;font-size:24px}.rich_media_meta_list{margin-bottom:18px;line-height:20px;font-size:0}.rich_media_meta_list em{font-style:normal}.rich_media_meta{display:inline-block;vertical-align:middle;margin-right:8px;margin-bottom:10px;font-size:16px}.meta_original_tag{display:inline-block;vertical-align:middle;padding:1px .5em;border:1px solid #9e9e9e;color:#8c8c8c;border-top-left-radius:20% 50%;-moz-border-radius-topleft:20% 50%;-webkit-border-top-left-radius:20% 50%;border-top-rightright-radius:20% 50%;-moz-border-radius-topright:20% 50%;-webkit-border-top-rightright-radius:20% 50%;border-bottom-left-radius:20% 50%;-moz-border-radius-bottomleft:20% 50%;-webkit-border-bottom-left-radius:20% 50%;border-bottom-rightright-radius:20% 50%;-moz-border-radius-bottomright:20% 50%;-webkit-border-bottom-rightright-radius:20% 50%;font-size:15px;line-height:1.1}.meta_enterprise_tag img{width:30px;height:30px!important;display:block;position:relative;margin-top:-3px;border:0}.rich_media_meta_text{color:#8c8c8c}span.rich_media_meta_nickname{display:none}.rich_media_thumb_wrp{margin-bottom:6px}.rich_media_thumb_wrp .original_img_wrp{display:block}.rich_media_thumb{display:block;width:100%}.rich_media_content{overflow:hidden;color:#3e3e3e}.rich_media_content *{max-width:100%!important;box-sizing:border-box!important;-webkit-box-sizing:border-box!important;word-wrap:break-word!important}.rich_media_content p{clear:both;min-height:1em;whitewhite-space:pre-wrap}.rich_media_content em{font-style:italic}.rich_media_content fieldset{min-width:0}.rich_media_content .list-paddingleft-2{padding-left:30px}.rich_media_content blockquote{margin:0;padding-left:10px;border-left:3px solid #dbdbdb}img{height:auto!important}@media(min-device-width:375px) and (max-device-width:667px) and (-webkit-min-device-pixel-ratio:2){.mm_appmsg .rich_media_inner,.mm_appmsg .rich_media_meta,.mm_appmsg .discuss_list,.mm_appmsg .rich_media_extra,.mm_appmsg .title_tips .tips{font-size:17px}.mm_appmsg .meta_original_tag{font-size:15px}}@media(min-device-width:414px) and (max-device-width:736px) and (-webkit-min-device-pixel-ratio:3){.mm_appmsg .rich_media_title{font-size:25px}}@media screen and (min-width:1024px){.rich_media{width:740px;margin-left:auto;margin-right:auto}.rich_media_inner{padding:20px}body{background-color:#fff}}@media screen and (min-width:1025px){body{font-family:"Helvetica Neue",Helvetica,"Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif}.rich_media{position:relative}.rich_media_inner{background-color:#fff;padding-bottom:100px}}.radius_avatar{display:inline-block;background-color:#fff;padding:3px;border-radius:50%;-moz-border-radius:50%;-webkit-border-radius:50%;overflow:hidden;vertical-align:middle}.radius_avatar img{display:block;width:100%;height:100%;border-radius:50%;-moz-border-radius:50%;-webkit-border-radius:50%;background-color:#eee}.cell{padding:.8em 0;display:block;position:relative}.cell_hd,.cell_bd,.cell_ft{display:table-cell;vertical-align:middle;word-wrap:break-word;word-break:break-all;whitewhite-space:nowrap}.cell_primary{width:2000px;whitewhite-space:normal}.flex_cell{padding:10px 0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.flex_cell_primary{width:100%;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;box-flex:1;flex:1}.original_tool_area{display:block;padding:.75em 1em 0;-webkit-tap-highlight-color:rgba(0,0,0,0);color:#3e3e3e;border:1px solid #eaeaea;margin:20px 0}.original_tool_area .tips_global{position:relative;padding-bottom:.5em;font-size:15px}.original_tool_area .tips_global:after{content:" ";position:absolute;left:0;bottombottom:0;rightright:0;height:1px;border-bottom:1px solid #dbdbdb;-webkit-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:scaleY(0.5);transform:scaleY(0.5)}.original_tool_area .radius_avatar{width:27px;height:27px;padding:0;margin-right:.5em}.original_tool_area .radius_avatar img{height:100%!important}.original_tool_area .flex_cell_bd{width:auto;overflow:hidden;text-overflow:ellipsis;whitewhite-space:nowrap;word-wrap:normal}.original_tool_area .flex_cell_ft{font-size:14px;color:#8c8c8c;padding-left:1em;whitewhite-space:nowrap}.original_tool_area .icon_access:after{content:" ";display:inline-block;height:8px;width:8px;border-width:1px 1px 0 0;border-color:#cbcad0;border-style:solid;transform:matrix(0.71,0.71,-0.71,0.71,0,0);-ms-transform:matrix(0.71,0.71,-0.71,0.71,0,0);-webkit-transform:matrix(0.71,0.71,-0.71,0.71,0,0);position:relative;top:-2px;top:-1px}.weui_loading{width:20px;height:20px;display:inline-block;vertical-align:middle;-webkit-animation:weuiLoading 1s steps(12,end) infinite;animation:weuiLoading 1s steps(12,end) infinite;background:transparent url(data:image/svg+xml;no-repeat;-webkit-background-size:100%;background-size:100%}@-webkit-keyframes weuiLoading{0%{-webkit-transform:rotate3d(0,0,1,0deg)}100%{-webkit-transform:rotate3d(0,0,1,360deg)}}@keyframes weuiLoading{0%{-webkit-transform:rotate3d(0,0,1,0deg)}100%{-webkit-transform:rotate3d(0,0,1,360deg)}}.gif_img_wrp{display:inline-block;font-size:0;position:relative;font-weight:400;font-style:normal;text-indent:0;text-shadow:none 1px 1px rgba(0,0,0,0.5)}.gif_img_wrp img{min-height:120px;min-width:120px;vertical-align:top}.gif_img_tips{background:rgba(0,0,0,0.6)!important;filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#99000000',endcolorstr = '#99000000');border-top-left-radius:1.2em 50%;-moz-border-radius-topleft:1.2em 50%;-webkit-border-top-left-radius:1.2em 50%;border-top-rightright-radius:1.2em 50%;-moz-border-radius-topright:1.2em 50%;-webkit-border-top-rightright-radius:1.2em 50%;border-bottom-left-radius:1.2em 50%;-moz-border-radius-bottomleft:1.2em 50%;-webkit-border-bottom-left-radius:1.2em 50%;border-bottom-rightright-radius:1.2em 50%;-moz-border-radius-bottomright:1.2em 50%;-webkit-border-bottom-rightright-radius:1.2em 50%;line-height:2.3;padding:0 1em;font-size:11px;color:#fff;text-align:center;position:absolute;bottombottom:10px;left:10px}.gif_img_tips i{vertical-align:middle;margin:-0.2em .73em 0 -2px}.gif_img_play_arrow{display:inline-block;width:0;height:0;border-width:8px;border-style:dashed;border-color:transparent;border-right-width:0;border-left-color:#fff;border-left-style:solid;border-width:5px 0 5px 8px}.gif_img_loading{width:14px;height:14px}i.gif_img_loading{margin-left:-4px}.rich_media_global_msg{position:fixed;top:0;left:0;rightright:0;padding:1em 35px 1em 15px;z-index:1;background-color:#c6e0f8;color:#8c8c8c;font-size:13px}.rich_media_global_msg .icon_closed{position:absolute;rightright:15px;top:50%;margin-top:-5px;line-height:300px;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0);background:transparent url(/mmbizwap/zh_CN/htmledition/images/icon/appmsg/icon_appmsg_msg_closed_sprite.2x.png) no-repeat 0 0;width:11px;height:11px;vertical-align:middle;display:inline-block;-webkit-background-size:100% auto;background-size:100% auto}.rich_media_global_msg .icon_closed:active{background-position:0 -17px}.preview_appmsg .rich_media_title{margin-top:1.9em}@media screen and (min-width:1024px){.rich_media_global_msg{position:relative;margin:0 20px}.preview_appmsg .rich_media_title{margin-top:0}}</style>    
  14.      
  15.      
  16.           
  17.      
  18.  </head>    
  19.     <body id="activity-detail" class="zh_CN mm_appmsg" ontouchstart="">    
  20.      
  21.      
  22.  <div id="js_article" class="rich_media">    
  23.      
  24. <div class="rich_media_inner">    
  25.                         <div id="page-content">    
  26.                 <div id="img-content" class="rich_media_area_primary">    
  27.      
  28.      
  29.      
  30.                     <div class="rich_media_content " id="js_content">    
  31.                              
  32.      
  33.                              
  34.                         <p><br  /></p><p><br  /></p><section label="Powered by 135editor.com" style="max-width: 100%; font-family: 微软雅黑; box-sizing: border-box !important; word-wrap: break-word !important;"><section class="" style="max-width: 100%; box-sizing: border-box; word-wrap: break-word !important;"><section class="" data-tools="135geovindu编辑器" data-id="87847" style="max-width: 100%; box-sizing: border-box; word-wrap: break-word !important;"><section style="margin: 10px auto; max-width: 100%; box-sizing: border-box; text-align: center; word-wrap: break-word !important;"><section style="padding: 3px; max-width: 100%; box-sizing: border-box; border-width: 1px; border-style: solid; border-color: rgb(78, 130, 247); display: inline-block; word-wrap: break-word !important;"><section style="max-width: 100%; box-sizing: border-box; border-width: 1px; border-style: dashed; border-color: rgb(78, 130, 247); word-wrap: break-word !important;"><p class="" data-original-title="" title="" style="padding: 0.1em 0.4em; max-width: 100%; min-height: 1em; white-space: normal; box-sizing: border-box !important; word-wrap: break-word !important;">1</p></section></section></section></section><section class="" style="max-width: 100%; box-sizing: border-box; word-wrap: break-word !important;"><section class="" data-tools="135geovindu编辑器" data-id="2363" style="max-width: 100%; box-sizing: border-box; word-wrap: break-word !important;"><section data-width="95%" style="margin-top: 3em; margin-bottom: 3em; margin-left: 20px; max-width: 100%; box-sizing: border-box; border-width: initial; border-style: none; border-color: rgb(162, 161, 160); width: 636.5px; text-align: center; color: inherit; word-wrap: break-word !important;"><section data-width="90%" style="margin-right: auto; margin-left: auto; max-width: 100%; box-sizing: border-box; width: 572.844px; height: 304px; color: inherit; word-wrap: break-word !important;"><section data-width="90%" style="max-width: 100%; box-sizing: border-box; width: 515.547px; height: 20em; border-width: 1px; border-style: solid; border-color: rgb(162, 161, 160); transform: rotate3d(0, 0, 1, 2deg); box-shadow: rgb(204, 204, 200) 1px 1px 1px; color: inherit; word-wrap: break-word !important;"></section><section data-width="90%" style="margin-top: -21em; margin-left: -1em; max-width: 100%; box-sizing: border-box; width: 515.547px; height: 20em; border-width: 1px; border-style: solid; border-color: rgb(162, 161, 160); box-shadow: rgb(204, 204, 200) 1px 1px 1px; transform: rotate3d(0, 0, 1, -3deg); color: inherit; background-color: rgb(254, 254, 254); word-wrap: break-word !important;"><section class="" data-width="90%" style="margin: 15px; max-width: 100%; box-sizing: border-box; width: 462.188px; height: 270.297px; color: inherit; background-image: url("http://mmbiz.qpic.cn/mmbiz_jpg/cfxQzmUp8b1XwcyzR3WLk2AbHVH9D8GxibnzaMicqDgib2M9Zgnb020U18DaNrQLgI3T16VPDV9SOTEUznfOJlvkQ/0?wx_fmt=jpeg"); background-size: cover; background-position: 50% 50%; background-repeat: no-repeat; word-wrap: break-word !important;"></section><p style="max-width: 100%; min-height: 1em; white-space: normal; box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"  /></p></section></section></section></section><p style="max-width: 100%; min-height: 1em; white-space: normal; text-align: center; box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"  /></p></section><p style="max-width: 100%; min-height: 1em; white-space: normal; text-align: justify; text-indent: 2em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; color: rgb(89, 89, 89); font-size: 17px; text-indent: 2em; line-height: inherit; box-sizing: border-box !important; word-wrap: break-word !important;">你是砍柴的,他是放羊的,你和他聊了一天,他的羊吃饱了,你的柴呢?砍柴的陪不起放羊的…</span><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"  /></p><p style="max-width: 100%; min-height: 1em; white-space: normal; text-align: right; text-indent: 2em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 17px; color: rgb(192, 0, 0); box-sizing: border-box !important; word-wrap: break-word !important;">——请放弃你的无效社交!</span></p><p style="max-width: 100%; min-height: 1em; white-space: normal; text-align: right; text-indent: 2em; box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"  /></p><section class="" data-tools="135geovindu编辑器" data-id="87847" style="max-width: 100%; box-sizing: border-box; word-wrap: break-word !important;"><section style="margin: 10px auto; max-width: 100%; box-sizing: border-box; text-align: center; word-wrap: break-word !important;"><section style="padding: 3px; max-width: 100%; box-sizing: border-box; border-width: 1px; border-style: solid; border-color: rgb(78, 130, 247); display: inline-block; word-wrap: break-word !important;"><section style="max-width: 100%; box-sizing: border-box; border-width: 1px; border-style: dashed; border-color: rgb(78, 130, 247); word-wrap: break-word !important;"><p class="" data-original-title="" title="" style="padding: 0.1em 0.4em; max-width: 100%; min-height: 1em; white-space: normal; box-sizing: border-box !important; word-wrap: break-word !important;">2</p></section></section></section></section><section class="" style="max-width: 100%; box-sizing: border-box; word-wrap: break-word !important;"><section class="" data-tools="135geovindu编辑器" data-id="2363" style="max-width: 100%; box-sizing: border-box; word-wrap: break-word !important;"><section data-width="95%" style="margin-top: 3em; margin-bottom: 3em; margin-left: 20px; max-width: 100%; box-sizing: border-box; border-width: initial; border-style: none; border-color: rgb(162, 161, 160); width: 636.5px; text-align: center; color: inherit; word-wrap: break-word !important;"><section data-width="90%" style="margin-right: auto; margin-left: auto; max-width: 100%; box-sizing: border-box; width: 572.844px; height: 304px; color: inherit; word-wrap: break-word !important;"><section data-width="90%" style="max-width: 100%; box-sizing: border-box; width: 515.547px; height: 20em; border-width: 1px; border-style: solid; border-color: rgb(162, 161, 160); transform: rotate3d(0, 0, 1, 2deg); box-shadow: rgb(204, 204, 200) 1px 1px 1px; color: inherit; word-wrap: break-word !important;"></section><section data-width="90%" style="margin-top: -21em; margin-left: -1em; max-width: 100%; box-sizing: border-box; width: 515.547px; height: 20em; border-width: 1px; border-style: solid; border-color: rgb(162, 161, 160); box-shadow: rgb(204, 204, 200) 1px 1px 1px; transform: rotate3d(0, 0, 1, -3deg); color: inherit; background-color: rgb(254, 254, 254); word-wrap: break-word !important;"><section class="" data-width="90%" style="margin: 15px; max-width: 100%; box-sizing: border-box; width: 462.188px; height: 270.297px; color: inherit; background-image: url("http://mmbiz.qpic.cn/mmbiz_png/cfxQzmUp8b1XwcyzR3WLk2AbHVH9D8Gxp5EvziaOib8J2pnwoc48lIjV7WZicOSQxA3L2Wr7XU1obyIiceicyDh1KrQ/0?wx_fmt=png"); background-size: cover; background-position: 50% 50%; background-repeat: no-repeat; word-wrap: break-word !important;"></section><p style="max-width: 100%; min-height: 1em; white-space: normal; box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"  /></p></section></section></section></section><p style="max-width: 100%; min-height: 1em; white-space: normal; text-align: center; box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"  /></p></section><p style="max-width: 100%; min-height: 1em; white-space: normal; text-align: justify; text-indent: 2em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; color: rgb(89, 89, 89); font-size: 17px; text-indent: 2em; line-height: inherit; box-sizing: border-box !important; word-wrap: break-word !important;">你是砍柴的,他是放羊的,你和他聊了一天,如是你学会了放羊技巧,原来羊是这么放的,他学会了砍柴技能,原来柴要这样砍</span><span style="max-width: 100%; color: rgb(89, 89, 89); font-size: 17px; text-indent: 2em; line-height: inherit; box-sizing: border-box !important; word-wrap: break-word !important;">。</span><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"  /></p><p style="max-width: 100%; min-height: 1em; white-space: normal; text-align: right; text-indent: 2em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 17px; color: rgb(192, 0, 0); box-sizing: border-box !important; word-wrap: break-word !important;">——三人行必有我师,永远保持空杯的状态。</span></p><p style="max-width: 100%; min-height: 1em; white-space: normal; text-align: right; text-indent: 2em; box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"  /></p><section class="" data-tools="135geovindu编辑器" data-id="87847" style="max-width: 100%; box-sizing: border-box; word-wrap: break-word !important;"><section style="margin: 10px auto; max-width: 100%; box-sizing: border-box; text-align: center; word-wrap: break-word !important;"><section style="padding: 3px; max-width: 100%; box-sizing: border-box; border-width: 1px; border-style: solid; border-color: rgb(78, 130, 247); display: inline-block; word-wrap: break-word !important;"><section style="max-width: 100%; box-sizing: border-box; border-width: 1px; border-style: dashed; border-color: rgb(78, 130, 247); word-wrap: break-word !important;"><p class="" data-original-title="" title="" style="padding: 0.1em 0.4em; max-width: 100%; min-height: 1em; white-space: normal; box-sizing: border-box !important; word-wrap: break-word !important;">3</p></section></section></section></section><section class="" style="max-width: 100%; box-sizing: border-box; word-wrap: break-word !important;"><section class="" data-tools="135geovindu编辑器" data-id="2363" style="max-width: 100%; box-sizing: border-box; word-wrap: break-word !important;"><section data-width="95%" style="margin-top: 3em; margin-bottom: 3em; margin-left: 20px; max-width: 100%; box-sizing: border-box; border-width: initial; border-style: none; border-color: rgb(162, 161, 160); width: 636.5px; text-align: center; color: inherit; word-wrap: break-word !important;"><section data-width="90%" style="margin-right: auto; margin-left: auto; max-width: 100%; box-sizing: border-box; width: 572.844px; height: 304px; color: inherit; word-wrap: break-word !important;"><section data-width="90%" style="max-width: 100%; box-sizing: border-box; width: 515.547px; height: 20em; border-width: 1px; border-style: solid; border-color: rgb(162, 161, 160); transform: rotate3d(0, 0, 1, 2deg); box-shadow: rgb(204, 204, 200) 1px 1px 1px; color: inherit; word-wrap: break-word !important;"></section><section data-width="90%" style="margin-top: -21em; margin-left: -1em; max-width: 100%; box-sizing: border-box; width: 515.547px; height: 20em; border-width: 1px; border-style: solid; border-color: rgb(162, 161, 160); box-shadow: rgb(204, 204, 200) 1px 1px 1px; transform: rotate3d(0, 0, 1, -3deg); color: inherit; background-color: rgb(254, 254, 254); word-wrap: break-word !important;"><section class="" data-width="90%" style="margin: 15px; max-width: 100%; box-sizing: border-box; width: 462.188px; height: 270.297px; color: inherit; background-image: url("http://mmbiz.qpic.cn/mmbiz_jpg/cfxQzmUp8b1XwcyzR3WLk2AbHVH9D8GxIib772biaUYiadwY2S7bl3mnDR3FRcw2xuVltPNoaTEelsXQfpyictYgiaA/0?wx_fmt=jpeg"); background-size: cover; background-position: 50% 50%; background-repeat: no-repeat; word-wrap: break-word !important;"></section><p style="max-width: 100%; min-height: 1em; white-space: normal; box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"  /></p></section></section></section></section><p style="max-width: 100%; min-height: 1em; white-space: normal; text-align: center; box-sizing: border-box !important; word-wrap: break-word !important;"><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"  /></p></section><p style="max-width: 100%; min-height: 1em; white-space: normal; text-align: justify; text-indent: 2em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; color: rgb(89, 89, 89); font-size: 17px; text-indent: 2em; line-height: inherit; box-sizing: border-box !important; word-wrap: break-word !important;">你是砍柴的,他是放羊的,你和他聊了一天,他决定把他的羊跟你的柴交换,于是你有了羊,他也有了柴</span><span style="max-width: 100%; color: rgb(89, 89, 89); font-size: 17px; text-indent: 2em; line-height: inherit; box-sizing: border-box !important; word-wrap: break-word !important;">。</span><br style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"  /></p><p style="max-width: 100%; min-height: 1em; white-space: normal; text-align: right; text-indent: 2em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 17px; color: rgb(192, 0, 0); box-sizing
更多精彩内容其他人还在看

CSS配合JavaScript做酷的动态页面效果

  利用CSS配合JavaScript的可以做很多更酷的动态页面效果,在本教程的最后给大家简单介绍一下CSS配合JS的应用。首先,要搞清楚事件和动作的概念。在客户端脚本中,JavaScript 通过对事件进行响应来获得与用户的交互。例如,当用户单击一个按钮或者在某段文字上移动鼠标
收藏 0 赞 0 分享

WEB标准,Web前端开发工程师必备技术列表

  想要打造并拥有一流的Web产品开发团队,在团队成员基础能力上一定要下功夫。对于Web前端产品开发来说,仅仅掌握Web1.0时代简单的"网页套接"是完全不够的。我结合自己的团队配备,特此罗列了Web前端产品工程师所涉及的技能列表如下:   通过许多实际项目,
收藏 0 赞 0 分享

用CSS制作Alpha滤镜测试板

alpha滤镜给制作网页特效提供了较大的创作空间,但由于它控制参数较多,在实际应用时,为了确定一组合适的参数值,不得不反复调整修改,在编辑窗口和预览窗口来回倒腾,甚是麻烦,本文介绍了一种简单的方法。制作一个“Alpha滤镜参数测试板”,在测试板上输入参数
收藏 0 赞 0 分享

非常流行的所谓的气泡窗口

普通的Alt无法自定义风格,而Sweet Titles通过JS脚本与CSS的集合.自定义了这种伪Alt风格. 前一段时间非常流行的,就所谓的气泡窗口(鼠标移到链接处出现的). 我们这里实现的用的是Sweet Titles的插件.显示效果完全由CSS控制.. 先下载Sweet Ti
收藏 0 赞 0 分享

CSS教程:li和ul标签用法举例

LI代码的格式化: A).运用CSS格式化列表符: ul li{ list-style-type:none; } B).如果你想将列表符换成图像,则: ul li{ list-style-type:none; list-style-image: url(/blog/images/
收藏 0 赞 0 分享

CSS教程:CSS中的定位(position)

  使用CSS来定位页面内层的位置,一直是比较难以掌握的事情,很多时候,往往被绝对定位的元素,总是以浏览器的左上角为坐标原点,此时,如果浏览器的大小改变,被定义的层就会偏离设计想要的位置,让人很挠头。   其实,要想控制好层的绝对定位,只要理解CSS中关于定位
收藏 0 赞 0 分享

CSS教程:盒模型(BOX Model)

  如果想熟练掌握DIV和CSS的布局方法,首先要对盒模型有足够的了解。每个HTML元素都可以看作一个装了东西的盒子,盒子里面的内容到盒子的边框之间的距离即填充(padding),盒子本身有边框(border),而盒子边框外和其他盒子之间,还有边界(margin),如图1所示。
收藏 0 赞 0 分享

无延迟翻滚的图形与CSS混合风格按钮

  在一个具有图形背景的按钮中添加CSS风格的文本,这种建立按钮的方法结合了具有CSS翻滚(CSS rollover)标记的开发速度和效率,从而有效地提高按钮外表图像的三维效果。   相比于常规的图形按钮,这些图形/CSS混合按钮可易于建立和载入,因为你只需要为空白按钮外面
收藏 0 赞 0 分享

css里expression实现界面对象的批量控制

用过css样式我们就知道, 可以定义一批对象的class属性来指定同一个样式来统一界面. 但如何统一同类型的对象的事件? 比如:界面有无数个 <img src="**.jpg"> 如何实现鼠标经过此图片, 图片的src变成是**_over.jpg?
收藏 0 赞 0 分享

CSS教程:水平对齐(text-align)

  水平对齐(text-align),用以设定元素内文本的水平对齐方式。   1.语法   text-align具体参数如下: 语法:text-align:left|right|center|justify 说明:设定元素内文本的水平对齐方式。 参数:left:左
收藏 0 赞 0 分享
查看更多