-1
A
回答
0
試試吧example。但是正如這些人所說的那樣,在你要求我們這麼做之前,先親自嘗試一下,然後嘗試一下。
.box{
position:relative;
width:300px;
height:300px;
background: #2B5891;
}
.box:before {
content: '';
position: absolute;
bottom: 0; right: 0;
border-bottom: 80px solid rgba(255, 255, 255, 0.94);
-webkit-box-shadow: 0px -4px 3px rgba(50, 50, 50, 0.75);
-moz-box-shadow: 0px -4px 3px rgba(50, 50, 50, 0.75);
box-shadow: inset 0px 0px 10px rgba(0,0,0,0.5);
border-left: 80px solid #2B5891;
width: 0;
}
.shadow{
position: absolute;
width: 100px;
height: 110px;
background: #2B5891;
bottom: 20px;
right: 25px;
-ms-transform: rotate(30deg);
-webkit-transform: rotate(30deg);
transform: rotate(45deg);
box-shadow: 10px 0px 9px -6px rgba(0,0,0,0.5);
}
+0
謝謝gingerbreadboy !!!!!!!!!!! –
相關問題
- 1. ASP.NET列表框樣式 - 刪除邊框並添加陰影
- 2. css3邊框和箱子陰影效果
- 3. 箱子陰影只在div角落
- 4. 雙面箱子陰影在雙面箱子陰影頂部
- 5. 動態刪除/添加陰影效果
- 6. Android:button onpress刪除陰影/邊框
- 7. Css |內向箱子陰影?
- 8. 箱子陰影效果
- 9. CSS:爲什麼背景顏色打破/刪除箱子陰影?
- 10. CSS3 - Verticle斜角80%的外箱陰影
- 11. 拐角處的箱形陰影
- 12. 刪除textarea的盒子陰影只
- 13. ColorTransform刪除陰影
- 14. 刪除SeekBar陰影
- 15. 刪除android.widget.Toolbar陰影
- 16. 透明邊界和箱陰影愁楚
- 17. IE11 /邊車箱陰影渲染
- 18. 紅色邊框和箱陰影問題
- 19. CSS梯度箱陰影和邊界
- 20. 箱陰影和邊界渲染錯誤
- 21. 刪除外框陰影並僅保留嵌入陰影
- 22. CSS三角形和箱陰影
- 23. 從子視圖中刪除陰影
- 24. 刪除webview的陰影
- 25. 箱子陰影轉爲使用css創建的三角形
- 26. 只有底部的箱子陰影
- 27. 在Chrome上消失的箱子陰影
- 28. 默認的箱子陰影顏色?
- 29. OpenGL | ES添加陰影/陰影貼圖
- 30. 創建箱子陰影拖放陰影mixin
預計您至少會嘗試爲自己編寫代碼。堆棧溢出不是代碼寫入服務。我建議你做一些額外的研究,無論是通過谷歌或通過搜索,做一個嘗試和。如果您仍然遇到麻煩,請返回**您的代碼**並解釋您嘗試過的以及爲什麼它不起作用。 –
我的問題是如何'刪除角落的方塊並添加陰影?' – foxy
我認爲其他人可以使用他們在這裏的答案 – foxy