如何在CSS 3中放置另一个图像? [英] How to place one image over another in CSS 3?
问题描述
我试图创建如下所示的box阴影效果。阴影是使用纯CSS3代码开发的:
但由于背景图片,阴影不会出现,如下所示。
>
如何将阴影放在顶部?
图像作为背景。然后像上面提到的方法将是一种方法。如果你使用纯色,你可以使用CSS3。
这里有一些很棒的教程。希望它服务。
http:/ /www.red-team-design.com/how-to-create-slick-effects-with-css3-box-shadow
http://www.paulund.co.uk/creating-different-css3-box-shadows-effects
I am trying to create the box- shadow effect as given below .The shadow is developed using pure CSS3 code:
But due to background image ,shadow is not appearing as shown below.
How can i place the shadow on the top?
If you must have an image as a background. Then an approach like the one mentioned above will be one way to go. If you are using a plain color you can use CSS3.
Here are some 2 great tutorials. Hope it serves. http://www.red-team-design.com/how-to-create-slick-effects-with-css3-box-shadow http://www.paulund.co.uk/creating-different-css3-box-shadows-effects
这篇关于如何在CSS 3中放置另一个图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!