• css 实现高斯模糊


    <!DOCTYPE html>
    <html lang="en">
    <head>
    	<meta charset="UTF-8">
    	<title>Document</title>
    </head>
    <style>
    	*{
    		margin: 0;
    		padding: 0;
    		list-style: none;
    	}
    	.box{
    		 100%;
    		height: 300px;
    		
    	}
    	.box img{ 100%}
    	.blur {	
    	    filter: url(blur.svg#blur); /* FireFox, Chrome, Opera */
    	    -webkit-filter: blur(40px); /* Chrome, Opera */
    	       -moz-filter: blur(40px);
    	        -ms-filter: blur(40px);    
    	            filter: blur(40px);	
    	    filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius=10, MakeShadow=false); /* IE6~IE9 */
    	}
    </style>		
    <body>
    	<div class="box">
    		<img src="1.jpg" alt="">
    		<img src="1.jpg" alt="" class="	blur">
    	</div>
    </body>
    </html>
    

      

  • 相关阅读:
    人物-商界-张近东:张近东
    人物-商界-许家印:许家印
    iptables-save
    iptables-restore
    iptables
    ipcs
    ipcclean
    ipc
    ip
    install-info
  • 原文地址:https://www.cnblogs.com/mymission/p/6898421.html
Copyright © 2020-2023  润新知