css实现玻璃磨砂材质卡片效果代码

代码语言:html

所属分类:布局界面

代码描述:css实现玻璃磨砂材质卡片效果代码

代码标签: css 玻璃 磨砂 材质 卡片

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>

<html lang="en">

<head>

   
<meta charset="UTF-8">




   
<style>
        @import url('https://fonts.googleapis.com/css2?family=Righteous&display=swap');
        @import url('https://fonts.googleapis.com/css2?family=Lato:wght@300&display=swap');
       
        body {
          /* solid background */
          background: rgb(0,212,255);
         
          /* gradient background*/
          background: linear-gradient(45deg, rgba(0,212,255,1) 0%, rgba(11,3,45,1) 100%);    
         
          /* photo background */
          background-image: url(//repo.bfw.wiki/bfwrepo/image/6275a2464efe8.png);
          background-size: cover;
          background-position: center;  
         
          display: flex;
          align-items: center;
          justify-content: center;    
          height: 100vh;  
        }
       
        .container {
          backdrop-filter: blur(16px) saturate(180%);
          -webkit-backdrop-filter: blur(16px) saturate(180%);
          background-color: rgba(17, 25, 40, 0.25);
          border-radius: 12px;
          border: 1px solid rgba(255, 255, 255, 0.125);  
          padding: 38px;  
          filter: drop-shadow(0 30px 10px rgba(0,0,0,0.125));
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content:center;
          text-align: center;
.........完整代码请登录后点击上方下载按钮下载查看

网友评论0