Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在我的 web 项目中使用 css3 但我不知道如何在盒子顶部设置一个嵌入的小阴影?我尝试为 ex 设置以下代码:
box-shadow:inset 0px 0px 10px #fff
谢谢
像这样的东西怎么样:
box-shadow: inset 0px 10px 10px -2px #FFF;
JSFiddle