javascript - MUI App bar and blur content below fixed Navbar - Stack Overflow

Is there a way to change the background property of my material-ui AppBar ponent to blur the content bl

Is there a way to change the background property of my material-ui AppBar ponent to blur the content blow the fixed navbar?

I've tried the filter: blur(0) and it doesn't work like I want. I have to get this kind of effect on the navbar with React/Styled-ponents/Material-UI

I've searched on the internet for many hours...I want, like in the following link for example, get a blur under this appbar : =/demo.js

Is there a way to change the background property of my material-ui AppBar ponent to blur the content blow the fixed navbar?

I've tried the filter: blur(0) and it doesn't work like I want. I have to get this kind of effect on the navbar with React/Styled-ponents/Material-UI

I've searched on the internet for many hours...I want, like in the following link for example, get a blur under this appbar : https://codesandbox.io/s/mwbwd?file=/demo.js

Share Improve this question asked May 7, 2021 at 4:00 SpicyyRiiceSpicyyRiice 1761 gold badge4 silver badges21 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 6

Just add sx={{backdropFilter:"blur(20px)"}} on the Appbar with color="transparent" added.

like <AppBar color="transparent" sx={{backdropFilter:"blur(20px)"}}>

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745484614a4629710.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信