Frontend Masters Boost RSS Feed https://frontendmasters.com/blog Helping Your Journey to Senior Developer Mon, 07 Jul 2025 21:36:33 +0000 en-US hourly 1 https://wordpress.org/?v=6.8.3 225069128 blur(1px) blur(1px) https://frontendmasters.com/blog/blur1px-blur1px/ https://frontendmasters.com/blog/blur1px-blur1px/#respond Mon, 07 Jul 2025 21:36:33 +0000 https://frontendmasters.com/blog/?p=6488 I know that you can “chain” the CSS property filter, like:

.element {
  filter: blur(2px) grayscale(80%) contrast(200%);
}

All three of those filters will apply. But somehow I never thought about applying the same filter more than once. That also works, and they don’t override each other, they “stack” (or whatever you want to call it).

So here’s some useless bar trivia for you. What is blurrier, filter: blur(2px) or filter: blur(1px) blur(1px)? Answer.

]]>
https://frontendmasters.com/blog/blur1px-blur1px/feed/ 0 6488
Blurring https://frontendmasters.com/blog/blurring/ https://frontendmasters.com/blog/blurring/#respond Fri, 26 Jul 2024 19:31:08 +0000 https://frontendmasters.com/blog/?p=3194 , to WebGL. I particularly like the idea of masking an element with a backdrop-filter with a gradient so, for instance, a header can fade out how much […]]]> This 9-minute video from Juxtopposed on blurring is a great watch. There are an awful lot of ways to blur things on the web, from filter, backdrop-filter, <feGaussianBlur>, to WebGL. I particularly like the idea of masking an element with a backdrop-filter with a gradient so, for instance, a header can fade out how much blur is being applied.

]]>
https://frontendmasters.com/blog/blurring/feed/ 0 3194