Search
 
SCRIPT & CODE EXAMPLE
 

CSS

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

how to blur background image in css

/* 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

make blur with css

/* Add the blur effect in CSS */
  filter: blur(8px);
  -webkit-filter: blur(8px);
Comment

background blur css

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

blur css

.mydiv { filter: grayscale(50%) }

/* Graut alle Bilder um 50% aus und macht sie um 10px unscharf */
img {
  filter: grayscale(0.5) blur(10px);
}
Comment

add blur background css

backdrop-filter: blur(5px);
Comment

blur css

backdrop-filter: blur(6px);
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 :: select dropdown icon change 
Css :: convert firebase created_at to Date string 
Css :: css hover darken color 
Css :: most common media query sizes 
Css :: text flow top to bottom 
Css :: css text align right 
Css :: color code green 
Css :: css after 
Css :: css crop image to circle 
Css :: center block div 
Css :: css transform origin 
Css :: box model css 
Css :: disabled checkbox css 
Css :: css background image follow scroll 
Css :: cursor as image css 
Css :: difference between :after and ::after 
Css :: list decoration none 
Css :: how to select classes that start with a certian name 
Css :: css image size scale to fit 
Css :: make image background of div 
Css :: css hsla 
Css :: html css tilt text 
Css :: css children selector 
Css :: how to remove css from element using jquery 
Css :: select odd child css 
Css :: css move inline image up 
Css :: Shadow On left & right side 
Css :: cool gradient 
Css :: the package could not be installed. the theme is missing the style.css stylesheet 
Css :: had to add a tint to a picture on css 
ADD CONTENT
Topic
Content
Source link
Name
3+1 =