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.
我是网格布局的新手,我想知道让事物稍微退出网格的最佳方法是什么,例如“丝带”效果:
(图片来自http://www.red-team-design.com/css-ribbons)
将功能区与网格对齐并设置样式后,您将在 CSS 中添加如下内容:
.ribbon { margin-left: -10px; }