The reflection is mirror image of the image. In the css we can done it by the help of the css properties. In this we are going to use the position properties,transfer properties,linear gradient offset and direction. Here is an example of the reflection.
1.Create 10 bars.
2.Position all these elements absolutely starting from the middle of the viewport.
3.Positioning the bars:-
We need to position them such that the left and right edge of the fist one and right one are at equal distance from the vertical line dividing the viewport into two equal halves.
4.Shading the bars.
5. Options for the reflection:-
for reflection we use -webkit-box-reflect.
it contains 3 parts:
Offset(which specifies how far from the edge of the element the reflection should start)