純CSS3寫的10個不同的酷炫圖片遮罩層效果


這個是純CSS3實現的的10個不同的酷炫圖片遮罩層效果,可以欣賞一下

 在線預覽

下載地址

實例代碼

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!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>純CSS3寫的10個不同的酷炫圖片遮罩層效果</title>
         <link rel= "stylesheet"  type= "text/css"  href= "css/demo.css"  />
 
         <!--必要樣式-->
         <link rel= "stylesheet"  type= "text/css"  href= "css/style_common.css"  />
         <link rel= "stylesheet"  type= "text/css"  href= "css/style1.css"  />
 
 
     </head>
     <body>
 
         <div  class = "main" >
             <div  class = "view view-first" >
                 <img src= "images/1.jpg"  />
                 <div  class = "mask" >
                     <h2><a href= '#' >PHP中SESSION和COOKIE基本用法</a></h2>
                     <p>在項目中我們會經常用到Session和Cookie,比如用戶登錄驗證、記錄用戶瀏覽歷史,存儲購物車數據,限制用戶會話有效時間等。今天我們介紹下PHP是如何操作Session和Cookie的。</p>
                     <a href= "#"  class = "info" >Read More</a>
                 </div>
             </div>
             <div  class = "view view-first" >
                 <img src= "images/2.jpg"  />
                 <div  class = "mask" >
                     <h2><a href= '#' >HTML5制作簡單的鍾表</a></h2>
                     <p>今天我們用canvas標簽並配合javascript來制作一個漂亮的時鍾</p>
                     <a href= "#"  class = "info" >Read More</a>
                 </div>
             </div>
             <div  class = "view view-first" >
                 <img src= "images/3.jpg"  />
                 <div  class = "mask" >
                     <h2><a href= '#' >jQuery拉伸搜索框</a></h2>
                     <p>今天分享一個CSS3+jQuery制作一個可伸縮功能的搜索框。</p>
                     <a href= "#"  class = "info" >Read More</a>
                 </div>
             </div>
             <div  class = "view view-first" >
                 <img src= "images/4.jpg"  />
                 <div  class = "mask" >
                     <h2><a href= '#' >CSS3不同背景顏色的圓角按鈕</a></h2>
                     <p>今天分享下用CSS3來制作一個圓角陰影、漸變色的漂亮的按鈕。</p>
                     <a href= "#"  class = "info" >Read More</a>
                 </div>
             </div>
         </div>
     </body>
</html>

 (轉載)http://www.cnblogs.com/niuboren/p/6096389.html


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM