首页>>焦点图>>CSS 焦点图 包括4种不同的切换效果(2014-09-21)

CSS 焦点图 包括4种不同的切换效果

CSS 焦点图 包括4种不同的切换效果
赞赏支持
立刻微信赞赏支持 关闭

 

XML/HTML Code
  1. <section class="cr-container">                
  2.                 <input id="select-img-1" name="radio-set-1" type="radio" class="cr-selector-img-1" checked/>  
  3.                 <label for="select-img-1" class="cr-label-img-1">1</label>  
  4.                   
  5.                 <input id="select-img-2" name="radio-set-1" type="radio" class="cr-selector-img-2" />  
  6.                 <label for="select-img-2" class="cr-label-img-2">2</label>  
  7.                   
  8.                 <input id="select-img-3" name="radio-set-1" type="radio" class="cr-selector-img-3" />  
  9.                 <label for="select-img-3" class="cr-label-img-3">3</label>  
  10.                   
  11.                 <input id="select-img-4" name="radio-set-1" type="radio" class="cr-selector-img-4" />  
  12.                 <label for="select-img-4" class="cr-label-img-4">4</label>  
  13.                   
  14.                 <div class="clr"></div>   
  15.                 <div class="cr-bgimg">  
  16.                     <div>  
  17.                         <span>Slice 1 - Image 1</span>  
  18.                         <span>Slice 1 - Image 2</span>  
  19.                         <span>Slice 1 - Image 3</span>  
  20.                         <span>Slice 1 - Image 4</span>  
  21.                     </div>  
  22.                     <div>  
  23.                         <span>Slice 2 - Image 1</span>  
  24.                         <span>Slice 2 - Image 2</span>  
  25.                         <span>Slice 2 - Image 3</span>  
  26.                         <span>Slice 2 - Image 4</span>  
  27.                     </div>  
  28.                     <div>  
  29.                         <span>Slice 3 - Image 1</span>  
  30.                         <span>Slice 3 - Image 2</span>  
  31.                         <span>Slice 3 - Image 3</span>  
  32.                         <span>Slice 3 - Image 4</span>  
  33.                     </div>  
  34.                     <div>  
  35.                         <span>Slice 4 - Image 1</span>  
  36.                         <span>Slice 4 - Image 2</span>  
  37.                         <span>Slice 4 - Image 3</span>  
  38.                         <span>Slice 4 - Image 4</span>  
  39.                     </div>  
  40.                 </div>  
  41.                   
  42.             </section>  

 


原文地址:http://www.freejs.net/article_jiaodiantu_437.html