Here is the original object on which we are to make shadow effect.
Code of the object first:
This is a paragraph in a div container.
And
this is a span text (white text on black background) within another paragraph
.
And the following is what the object looks like:
This is a paragraph in a div container.
And
this is a span text (white text on black background) within another paragraph
.
Now we are going to make the shadow effect on the out div element.
代码如下,但是不知道为什么没有效果。。。下次再看看吧。