Using a backdrop filter gives us a way to blur out the backdrop of an element. This is particularly useful when we want to shift the focus from the background to the foreground.
Instructor: [0:00] Our tic-tac-toe board is functioning, but there's one issue here. When we render a result, the result knocks the board out of alignment, and also, we aren't blocking the player from playing on.
[0:12] We could use the result to overlay the grid and stop, these [inaudible] to click underneath. If we inspect this, we can see that the game result covers the entire board.
[0:22] To do this, we're using position: absolute with height and width of 1.5 times the size of the board, and then we have some styling for the content. The board is still quite prominent and doesn't feel very disconnected from the result.
[0:36] To create that disconnect, we can use a backdrop-filter. Let's apply a value of blur, and let's say 25px. By using backdrop-filter, we're able to create a blur for anything in the backdrop, and that shifts the focus away from what's in the backdrop to what's in the foreground.
[0:53] In review, we can use a backdrop-filter to apply filter effects to the backdrop of an element. In this case, we're using blur to blur out the backdrop and shift the focus to the foreground of our content.