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

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 :: css center in td 
Css :: css media queries 
Css :: how to remove text selection in css 
Css :: css roboto font 
Css :: css all caps 
Css :: css first td 
Css :: matinput remove underline 
Css :: position absolute center horizontally 
Css :: css fixed center vertical 
Css :: html details summary marker remove 
Css :: how to use between in media query 
Css :: why is my footer not at the bottom html 
Css :: css no selection 
Css :: text gradient css 
Css :: limit p css 
Css :: css display table row gap 
Css :: use a local font css 
Css :: css center vertically and horizontally 
Css :: css button transparent 
Css :: css avoid line break in span 
Css :: how to make animation stay on 100% 
Css :: elementor accordions closed by default 
Css :: change input border color when selected 
Css :: bootstrap media queries 
Css :: antd css import 
Css :: boxshadow one side 
Css :: gradient border with border radius 
Css :: how to center an overlay button using flex box 
Css :: add alpha value to css color variable 
Css :: how to gain full width of a phone website in html and css 
ADD CONTENT
Topic
Content
Source link
Name
6+7 =