Search
 
SCRIPT & CODE EXAMPLE
 

CSS

how to blur background color in css

background: rgba(255,255,255,0.5);
backdrop-filter: blur(5px);
Comment

how to do a background blur in css

/* Answer to "blur behind element css" */

/*
	This blurs everything behind the element it's applied to
*/

backdrop-filter: blur(10px);
Comment

css code to blur background

/* Setting background image and filter to blur */
body{
      background-image: url("software_code_3.jpg");
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
      background-attachment: fixed;
      color: whitesmoke;
      backdrop-filter: blur(8px);
/*       -webkit-filter: blur(8px); */
    }
/* creating a kind of "glass-polymorphism" effect with a light-dark background*/
.container {
      border: 1px;
      border-radius: 5px;
      background-color: rgb(0,0,0);
      background-color: rgba(0,0,0, 0.4);
      padding: 20px;
    }
Comment

background blur css

background: transparent;
backdrop-filter: blur(10px);
Comment

add blur background css

backdrop-filter: blur(5px);
Comment

blur background image css

html, body {
  width: 100%;
  height: 100%;
}

.container {
  width: 100%;
  height: 100%;
  
  display: grid;
  grid-template-columns: 1fr 6fr 1fr;
  grid-template-rows: 1fr 6fr 1fr;
  grid-template-areas: 
  '. . .'
  '. content .'
  '. . .'; 
  justify-content: center;
  align-items: center;
}

.backbround {
  width: 100%;
  height: 100%;
  
  grid-area: 1/1/5/5;
  
  background-image: url(https://i.imgur.com/aUhpEz3.jpg);
  filter: blur(5px);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.content {
  height: 200px;
  position: relative;
  
  grid-area: content;
  display: flex;
  
  justify-content: center;
  align-items: center;
  color: white;
}
Comment

PREVIOUS NEXT
Code Example
Css :: style disabled button 
Css :: select box arrow hide css in ie 
Css :: give transition on box shadow 
Css :: css media query aspect ratio 
Css :: jquery if css property is 
Css :: div circle 
Css :: how to center div in css 
Css :: media query all devices 
Css :: css animate flashing 
Css :: position absolute center 
Css :: schatten css 
Css :: transition transform 
Css :: center align div vertically and horizontally css 
Css :: how to remove link color from <a 
Css :: sticky header css 
Css :: hide title wordpress 
Css :: css grow animation 
Css :: css button to bottom of div 
Css :: css animation stop at the end 
Css :: blazor spinner css in wwwroot/css/site.css 
Css :: css multiple backgrounds 
Css :: how to hide scrollbar overflow 
Css :: media query min max 
Css :: css grid reverse column order 
Css :: chmod recursive 
Css :: sans serif font family css 
Css :: css style for the first element only 
Css :: border radius circle button 
Css :: transition background gradient 
Css :: image right css 
ADD CONTENT
Topic
Content
Source link
Name
1+9 =