CSS: What's a good way to create a raised box effect?

前端 未结 5 1230
你的背包
你的背包 2020-12-30 08:43

That is, the left and bottom borders of the element need to give a 3d effect of it popping out. Is there a good, purely-CSS way to accomplish this effect?

5条回答
  •  难免孤独
    2020-12-30 08:57

    You could use the border-bottom-style and border-right-style, just as StackOverFlow does with the tags.

    Use the styles inset and outset.

提交回复
热议问题