react-poly
Version:
A beautiful pane of Polymetylmetakrylat.
31 lines (26 loc) • 565 B
CSS
.poly {
padding: 12px;
position: relative;
}
.poly .polyContent {
position: relative;
}
.poly .polyTint, .poly .polyBlur, .poly .polyNoise {
position: absolute;
top: 0px;
left: 0px;
height: 100%;
width: 100%;
}
.poly .polyBlur, .poly .polyNoise {
background-attachment: fixed ;
background-position: center ;
background-repeat: no-repeat ;
background-size: cover ;
overflow: hidden;
}
.poly .polyNoise {
background: url("./noise.png");
background-size: 25000px ;
opacity: 0.07;
}