Blur background image using CSS

 

Blur background image using CSS

The fundamental technology used to style the HTML elements of any webpage is called CSS or Cascading Style Sheets. This CSS technology plays a crucial role in defining various components of a webpage such as colors, background images, padding, margins, fonts, etc. Today we will show you how to blur the background image used in a layout with CSS. Below is a video tutorial showing the procedure. Our YouTube channel has video tutorials on HTML, CSS, and JavaScript. If you find it useful you can subscribe to our channel.


Video Tutorial:




One of the features of CSS is that it can be used to create blur background images. This method is used to focus the text by blurring the background. It makes a website's sense of depth and visual appeal more home to its aesthetics. We've given it full height by taking a div called header. Sets the day to a background image with a CSS filter blur effect. The higher the blur value here, the more blurred the background image will be. We have put a text on this blurred background image. The text is given a z-index value of 2 for being on top and a Z-index value of -1 for the blue background image to be on the bottom.

You May Also Like:


Blur Background Image using CSS [ Source Code ]:


To create this CSS background image trick you first need to create an HTML and then a CSS. Add the external CSS file to the HTML file. Then copy the code from the box below and paste it in your project file. If there is any problem, download the code from the download button below.

ADD HTML:




ADD CSS:




There are many more code snippets available on our website. You can get the snippets by clicking on the Load More button at the bottom of our homepage. Thanks for visiting our website.

Please do not enter any spam link in the comment box.

Post a Comment

Please do not enter any spam link in the comment box.

Post a Comment (0)

Previous Post Next Post