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.
我正在使用 bootstrap 4 卡制作介绍网站
在http://triangleslabs.com/mazenintro/检查它
小屏下网站变奇怪的问题
有人可以帮忙吗?
#cover->height: 100%强制卡片组居中垂直对齐。
#cover
height: 100%
在一个小屏幕上,您将获得 3 张卡片以对齐顶部和底部溢出...
删除它,它就来了。
(请记住,在响应式设计中,您经常失去更改垂直控制的能力,因为响应式设计是一项将屏幕宽度考虑在内的原则。)