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 badges1 Answer
Reset to default 6Just 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条)