how to make edges of a line fade out?
This bit of css will center a 1 pixel tall bar in its container. I change
its width to indicate progress of something loading.
#centered_bar {
display: block;
margin-left: auto;
margin-right: auto;
top: 100px;
height: 1px;
position: relative;
background-color: #FFFFFF;
}
How would I make the left and right edge of this element 'fade' (so, when
zoomed in, the edge would look like the bottom line-end in this picture)?
No comments:
Post a Comment