Lay*_*yRi 3 javascript css reactjs material-ui styled-components
有没有办法更改我的material-ui AppBar 组件的背景属性以模糊固定导航栏上的内容?
我尝试过过滤器:blur(0),但它没有像我想要的那样工作。我必须使用 React/Styled-components/Material-UI 在导航栏上获得这种效果

我在互联网上搜索了很多小时...我想,例如在以下链接中,在此应用栏下获得模糊:https://codesandbox.io/s/mwbwd ?file=/demo.js
小智 6
只需sx={{backdropFilter:"blur(20px)"}}在 Appbar 上添加即可color="transparent" 。
喜欢 <AppBar color="transparent" sx={{backdropFilter:"blur(20px)"}}>
| 归档时间: |
|
| 查看次数: |
3148 次 |
| 最近记录: |