我有一个 .container
,其中有 n 个(left-block
和 right-block
)div。
但是漂浮到右侧的元素的box-shadow
落在了容器之外。
是否可以将 box-shadow
放入 .container
而不是使用 margin-right
最佳答案
关于html - 盒子阴影落在容器外,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19543485/
我有一个 .container
,其中有 n 个(left-block
和 right-block
)div。
但是漂浮到右侧的元素的box-shadow
落在了容器之外。
是否可以将 box-shadow
放入 .container
而不是使用 margin-right
最佳答案
关于html - 盒子阴影落在容器外,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19543485/
相关文章:
html - 如何使背景透明并在div的左右部分创建一个三 Angular 形?
css - 在 SharePoint 2010 中覆盖默认 css 的最佳方式
javascript - 为什么我的灯箱画廊会在单独的页面中加载 img?
html - 为 Internet Explorer 设计 hr
html - 两个固定高度/宽度 div 之间的 flex div
html - CSS Sprite 现在显示一次上传的 htr
html - CSS转PDF, Flying Saucer 中的css : -fs-table-paginate result in border-collapse:collapse invalid