Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

text below filter css using pseudo

.blur {
  height: 222px;
  position:relative;
  font-size:40px;
  text-align:center;
}

.blur:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  filter: blur(5px);
  z-index:0;
}
.blur span {
  position:relative;
  z-index:1;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #text #filter #css #pseudo
ADD COMMENT
Topic
Name
6+2 =