CSS- make bottom element fade into element above it
Instead of having elements divided by a straight line, make them fade into each other with bottom element having these settings:
Top element also needs to have same overlay color (can mess around with the opacity to match both elements)
Top element also needs to have same overlay color (can mess around with the opacity to match both elements)
.stats-sec {
background-color: #2E2F3A;
opacity: .99; //so shadow blends in with the background color
box-shadow: 0 -15px 10px #2E2F3A; //so only top edge is blurred
height: 100px;
}
Comments
Post a Comment