这是我遇到问题的地方:
http://dmidland.byethost5.com/dmidlandProto2/AdminSide/reservationCustomers.php
我想要进入我页面的“容器”内部,并且也要做出回应。因此,如果用户调整屏幕大小,或放大或缩小,它将不会有令人不愉快的视图。请帮忙=)
答案 0 :(得分:0)
我做了一些搜索,并为响应表尝试了这个css
td { 显示:块;
&:first-child {
padding-top: .5em;
}
&:last-child {
padding-bottom: .5em;
}
&:before {
content: attr(data-th)": "; // who knew you could do this? The internet, that's who.
font-weight: bold;
// optional stuff to make it look nicer
width: 6.5em; // magic number :( adjust according to your own content
display: inline-block;
// end options
@media (min-width: $breakpoint-alpha) {
display: none;
}
}
}